使用 shutil.rmtree(path) 函數,它將僅刪除指定的目錄,而不刪除整個路徑。 IE瀏覽器:. shutil.rmtree('user/tester/noob'). 使用它,只會刪除正確的“ noob”目錄嗎?
確定! 回上一頁