Message9571
os.makedirs() fails with Errno 17 [File exists] when trying to execute on a UNC path ("\\\\deploy\\1.9.83-20150202083042\\docs\\doctrees\\subfolder").
List of code is below
================================================
dirname = "\\\\deploy\\1.9.83-20150202083042\\docs\\doctrees\\subfolder"
if not path.isdir(dirname):
os.makedirs(dirname)
=================================================
During execution os.makedirs(dirname) Errno 17 [File exists] occured.
I have checked manually folder "subfolder" is not exist before and after execution the program.
Could you help me resolve this problem? |
|
Date |
User |
Action |
Args |
2015-03-03 10:37:57 | nazarlviv07 | set | recipients:
+ nazarlviv07 |
2015-03-03 10:37:57 | nazarlviv07 | set | messageid: <1425379077.83.0.450879695476.issue2277@psf.upfronthosting.co.za> |
2015-03-03 10:37:57 | nazarlviv07 | link | issue2277 messages |
2015-03-03 10:37:57 | nazarlviv07 | create | |
|