try os.path.exists(path) -Larry Bates
Ernesto wrote: > 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("")} > -- http://mail.python.org/mailman/listinfo/python-list