On Thu, Sep 18, 2008 at 07:19:29PM -0400, [EMAIL PROTECTED] wrote:
> if not os.access(target_dir, os.F_OK):
> if os.access(target_dir, os.F_OK)==False:
> if os.access(target_dir, os.F_OK)!=True:

IMHO it's generally bad form to use numeric == or != operators to compare
values against True, False, and None.  I'd really strongly encourage
the first form.  Your mileage may vary, of course.


-- 
Steve Willoughby    |  Using billion-dollar satellites
[EMAIL PROTECTED]   |  to hunt for Tupperware.
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to