"Vincent Wehren" <vi*****@visualtrans.de> wrote in message
news:dv**********@news4.tilbu1.nb.home.nl...
| <yi*****@gmail.com> wrote in message
| news:11*********************@j33g2000cwa.googlegro ups.com...
||I check the documentation here, but it does not say how to check if a
|| directory is exist in python?
||
http://docs.python.org/lib/os-file-dir.html
|
| Look at the exist or isdir methods of the os.path module
Ofcourse I mean "exists"...
| (http://docs.python.org/lib/module-os.path.html}
|
||
|| And why mkdir fails if the directory already exists?
|
| If you prefer a "more friendly" approach you may wanna take a look at
Trent
| Mick's _mkdir which is located at
|
http://aspn.activestate.com/ASPN/Coo...n/Recipe/82465
||
|
| Regards,
| Vincent Wehren
|
|| Thank you.
||
|
|