Invalid Token when using Octal numbers Invalid Token when using Octal numbers python-3.x python-3.x

Invalid Token when using Octal numbers


Try 0o10, may be because of python 3, or pyshell itself.

PEP says,

octal literals must now be specified with a leading "0o" or "0O" instead of "0";

http://www.python.org/dev/peps/pep-3127/