I want do delete a directory with python. I used this:
import shutil
shutil.rmtree('path/to/dir', ignore_errors=True)
but when I go into the folder, there is still a folder. (Its a .git folder which has content)
How can I also delete this directory too?
I already searched and tested many other posts but all didn't work like it should.