Dictionary invalid token error

Richard Brodie R.Brodie at rl.ac.uk
Tue Oct 2 16:58:06 CEST 2007


"brad" <byte8bits at gmail.com> wrote in message news:fdtlqo$t1t$1 at solaris.cc.vt.edu...

> Why does 09 cause an invalid token while 9 does not?

9 isn't a valid octal digit. You probably want to use strings for
storing telephone number like codes, if leading zeroes are
significant. 





More information about the Python-list mailing list