在Python 3.6 之前,Path 物件是不能作為os 模組下的引數的,需要手動轉化成字串: ➜ ~ ipython3.5 ... 過去路徑拼接最正確的方法是用 os.path.join :
確定! 回上一頁