Python 的os 模組提供不少便利的功能讓我們能夠操作檔案/資料夾的路徑、操作等等 ... from pathlib import Path >>> path = Path('/tmp/myfile.txt') ...
確定! 回上一頁