Svetlana Vodianova added the comment:
I think eryksun is correct.
I agree. The code sample provided by him, and the Python docs, mean I'm able to
remove a folder with a .ini file without getting WinError 5.
I should mark this as closed as he solved my problem.
--
Svetlana Vodianova added the comment:
What is the system error code (winerror) of the PermissionError?
PermissionError: [WinError 5] Access is denied
Note: Please ignore my first post (msg357097) describing the problem, I made a
few mistakes that might be confusing. msg357099 better
Svetlana Vodianova added the comment:
I posted my problem on Stack Overflow, but as of right now haven't received any
answers.
Link:
https://stackoverflow.com/questions/58922332/shutil-cannot-delete-a-folder-with-a-hidden-desktop-ini-file
To summarize my problem: If you use copytr
New submission from Svetlana Vodianova :
I posted my problem on Stack Overflow, but as of right now haven't received any
answers.
Link:
https://stackoverflow.com/questions/58922332/shutil-cannot-delete-a-folder-with-a-hidden-desktop-ini-file
To summarize my problem: If you use copytr