> I'm a newbie and was wondering which of these IF conditions is
better structure:

>   1.. if not os.path.exists('filename'):
>   2.. if os.path.exists('filename') == False:

Which one reads easiest?
I'd say the first one personally. But both are OK.

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to