Python Newbie

piterrr.dolinski at piterrr.dolinski at
Mon Feb 25 00:38:49 CET 2013

>> intX = 32                          # decl + init int var
> How is it not obvious that "intX" is an integer *without* the comment?

Indeed the assignment is enough to deduce "intX" is an int. The comment is there to let me know it is unlikely intX appears earlier in the code. Please, let me do things my way until I find reasons to the contrary.

Regarding my use of None to mean NULL, point taken to use "" instead.


More information about the Python-list mailing list