本篇文章介紹Python 標準程式庫的os 與os.path 模組。 ... os.path.join(dirpath, filename), 將dirpath 與filename 結合,無需自行判斷要用'\\' 或'/' 。
確定! 回上一頁