python刪除文件夾時使用os.remove拒絕訪問解決辦法

python刪除非空文件夾時使用os.remove會出現拒絕訪問或無權限,解決辦法以下:python import shutilrem shutil.rmtree(file_name)便可解決import
相關文章
相關標籤/搜索