Mark Brown wrote:
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:

I prefer the "if not" variety.

Yours,

Andrei

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

Reply via email to