Hi all,

I am trying to understand when it is appropriate to use None as in the
following example

if abc != None:
      print "abc is not None"

1) Can I use it to determine if the variable abc exists?
2) Can I use it to determine if the variable abc does not contain anything?

Many thanks

-- 
Tehn Yit Chin
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to