OS.MKDIR( ) Overwriting previous folder created...

Ernesto erniedude at gmail.com
Thu Feb 2 16:45:09 EST 2006


Ernesto wrote:
> I couldn't find this with a search, but isn't there a way to overwrite
> a previous folder (or at least not perform osmkdir( ) if your program
> detects it already exists).  Thanks !

I suppose this also leads to the question of:

"Is there a way to determine if a path exists or not?"  Then I could
do:

if(path exists){}
else{mkdir("")}




More information about the Python-list mailing list