brad
2007-10-02 15:00:14 UTC
Numbers with leading zeros are parsed as octal. 8 and 9 are invalid
digits in octal. Thus, it falls over. 00 through 07 will work fine,
but 08 and 09 will go kaput.
http://docs.python.org/ref/integers.html
-tkc
Thanks... that makes sense. I'll store them as strings.digits in octal. Thus, it falls over. 00 through 07 will work fine,
but 08 and 09 will go kaput.
http://docs.python.org/ref/integers.html
-tkc