Improvement ?
Jean-Marc Ranger
jeanmarc.ranger at smisrd.com
Wed May 5 15:12:44 EDT 2004
Just wondering:
With Python 2.3.3 for Windows, I understand why
os.makedirs("C:\SomeDirectoryThatDontExist\.\AnotherDirectory") fails
throwing an exception saying "OSError: [Errno 17] File exists" - the
period is like a request to create the same directory a second time.
But is this the expected behavior ? I personaly would prefer to see
this operation succeed - and don't like the idea of writing a
workaround :)
Comments ?
Thanks,
Jean-Marc Ranger
More information about the Python-list
mailing list