Check for presence fo directory
Michael Foord
fuzzyman at gmail.com
Fri Sep 24 09:30:06 EDT 2004
Maurice LING <mauriceling at acm.org> wrote in message news:<415399c4$1 at news.unimelb.edu.au>...
> > Should we assume you're rejecting os.path.exists() for some reason?
> >
> You can assume Maurice.knowledge(os.path.exists()) to raise an
> exception. Thanks, I guess os.path.exists() is the one to use.
>
> Cheers
> Maurice
Maurice.knowledge(os.path.exists()) ought to return False rather than
raising an exception.
It sounds like you're running an old version of Maurice ?
;-)
Regards,
Fuzz
http://www.voidspace.org.uk/atlantibots/pythonutils.html
More information about the Python-list
mailing list