>> Come on, Dave, I know you love Python!  :-)

For some reason, no one can ask a question anymore without being told
there's a better way.  

>If a file exists and is not a directory, bail out, otherwise create the
directory.

The shell (well, bash, at least) [how do I tell?] has boolean operators, so
you could combine tests.

I wonder if you could just call mkdir and it would decide on its own...

Barry

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to