[Tutor] 2to3 Help?

Marco Petersen marco.m.petersen at gmail.com
Mon Jan 12 07:31:02 CET 2009


I have Python 3.0. I tried to use the 2to3 program included with the 
interpreter to convert some scripts for Python 2.5 to Python 3.0 ones.
When I try to start it form the Python command line, it says it is a 
syntax error.

This was the line of code:

$ 2to3 testscript.py

Any help would be appreciated.

Thanks
- Marco


More information about the Tutor mailing list