> > Also, just noticed one other thing. Instead of 'if number is not > None', in Python you can do 'if number' -- much nicer. > > > Though not very good if number can be 0 or "" as opposed to None ;-)
I am not sure which reads better number is not None or not number is None or or number != None T -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/OZApIUGT9noJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.