79545531

Date: 2025-03-31 05:23:10
Score: 1
Natty:
Report link

My guess is that one file/folder is locked by another process. Which means that if you add the ignore_errors=True it will continue to remove the rest of the files and folders. It looks like you want to create a new empty folder to be sure to start from scratch.

The solution with ignoring errors might create hard to debug errors if a file is left somewhere when you expect it to be a empty folder.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Svavelsyra