How to really delete all files in a folder and the folder on Windows using python?

前端 未结 0 763
忘掉有多难
忘掉有多难 2021-01-24 14:42

this doesn’t delete the folder

shutil.rmtree(\'C:\\\\Users\\\\0\\\\Downloads\\\\preoutput\')

this one causes this error Message=[WinError 5] Acce

相关标签:
回答
  • 消灭零回复
提交回复
热议问题