表示返回上一層 print(os.getcwd()) ... 組2' b = 'os模組\sss.py' print(os.path.join(a,b)) #路徑拼接(在python中,關於拼接的操作最好不要用'+').
確定! 回上一頁