在第二個檔案輸入import A ... Python會將載入的模組編譯成A.pyc於B.py檔旁邊 ... 移除檔案. ▷ path引數傳入檔案位置. ▷ 不會移除資料夾. ▷ os.removedirs(path).
確定! 回上一頁