2to3 Help?

James Mills prologic at shortcircuit.net.au
Thu Jan 15 01:24:06 EST 2009


On Thu, Jan 15, 2009 at 4:17 PM,  <marco.m.petersen at gmail.com> wrote:
>>>> $ 2to3.py testscript.py
> File "<stdin>", line 1
>    $ 2to3.py testscript.py
>    ^
> Syntax Error: Invalid Syntax

Oh i see...

You need to do 2 things:

1) Run 2to3 on the shell not the python interpreter.
2) Learn some basic UNIX.

cheers
James



More information about the Python-list mailing list