3 ms·
I've never experienced this in writing my own software. If I try to read or write to a directory I'm not allow to I simply get access denied. f = open('C:/wind
by cmdrfred 11y ago
I've never experienced this in writing my own software. If I try to read or write to a directory I'm not allow to I simply get access denied.
f = open('C:/windows/test.txt')
try:
f.write('test')
except Exception as ex:
print ex
IOError: [Errno 13] Permission denied: 'C:/windows'
- TeMPOraL 11y agoTry the same with C:/test.txt. Open Explorer and see if the file actually appears in C:/.