Paul Scott wrote:
... example:
if os.path.exists(os.path.join(basedir,picdir)) == True :
    blah blah

Question is, is there a better way of doing this? The above *works* but
it looks kinda hackish...

You've had the joining addressed elsewhere, but note that:
    if os.path.exists(os.path.join(basedir, picdir)):
        blah blah
is a lot better than comparing to True.

--Scott David Daniels
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to