Python 使用pathlib 套件刪除檔案. # 引入pathlib 模組 from pathlib import Path # 檔案路徑 file = Path("/tmp/tmp") file.unlink() ...
確定! 回上一頁