Message226061
When the directory name is '...', the error is different:
>>> pth = pathlib.Path('//?/C:/...')
>>> pth.mkdir()
>>> pth.resolve().rmdir()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python34\lib\pathlib.py", line 1141, in rmdir
self._accessor.rmdir(self)
File "C:\Python34\lib\pathlib.py", line 323, in wrapped
return strfunc(str(pathobj), *args)
PermissionError: [WinError 5] Access is denied: 'C:\\...'
>>> pth.rmdir()
>>> |
|
Date |
User |
Action |
Args |
2014-08-29 13:20:44 | Kevin.Norris | set | recipients:
+ Kevin.Norris |
2014-08-29 13:20:44 | Kevin.Norris | set | messageid: <1409318444.65.0.1640949953.issue22299@psf.upfronthosting.co.za> |
2014-08-29 13:20:44 | Kevin.Norris | link | issue22299 messages |
2014-08-29 13:20:44 | Kevin.Norris | create | |
|