Improvement ?
From: Jean-Marc Ranger (jeanmarc.ranger_at_smisrd.com)
Date: 05/05/04
- Previous message: Skip Montanaro: "Re: improving the Python docs -- a wiki? copy PHP's model?"
- Next in thread: Peter Hansen: "Re: Improvement ?"
- Reply: Peter Hansen: "Re: Improvement ?"
- Reply: Michael Geary: "Re: Improvement ?"
- Reply: Heiko Wundram: "Re: Improvement ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 May 2004 12:12:44 -0700
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
- Previous message: Skip Montanaro: "Re: improving the Python docs -- a wiki? copy PHP's model?"
- Next in thread: Peter Hansen: "Re: Improvement ?"
- Reply: Peter Hansen: "Re: Improvement ?"
- Reply: Michael Geary: "Re: Improvement ?"
- Reply: Heiko Wundram: "Re: Improvement ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|