2to3 Help?

marco.m.petersen at gmail.com marco.m.petersen at gmail.com
Thu Jan 15 01:32:45 EST 2009


> You need to do 2 things:
>
> 1) Run 2to3 on the shell not the python interpreter.
> 2) Learn some basic UNIX.
>
> cheers
> James

I tried to run it on the command prompt (I use Windows XP) but it
doesn't work either.

I opened the command prompt:

C:\Documents and Settings\User>

Then I typed '$ 2to3 testscript.py':

C:\Documents and Settings\User>$ 2to3.py testscript.py

But then this appears:

C:\Documents and Settings\User>$ 2to3.py testscript.py
'$' is not recognized as an internal or external command,
operable program or batch file.

Anyway I'll try some UNIX. Thanks.



More information about the Python-list mailing list