I want to delete a file located on my desktop:
os.remove('C:/Benutzer/Me/Desktop/sync.txt')
But I get
[Error 3] System cannot find the path
However the file does exist in the given location. I can copy the path and paste into explorer. This will open the file.
Where is the problem?
os.path.exists('C:/Benutzer/Me/Desktop/sync.txt')