2to3 Help?

marco.m.petersen at gmail.com marco.m.petersen at gmail.com
Thu Jan 15 01:01:21 EST 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 Python-list mailing list