2to3 Help?

alex23 wuwei23 at gmail.com
Thu Jan 15 07:46:37 CET 2009

On Jan 15, 4:32 pm, marco.m.peter... at gmail.com wrote:
> I tried to run it on the command prompt (I use Windows XP) but it
> doesn't work either.
> '$' is not recognized as an internal or external command,
> operable program or batch file.

'$' is used in the instructions to denote a command prompt. You're not
supposed to type it :)

In your case '$' == 'C:\Documents and Settings\User>'; just type
'2to3.py testscript.py' and it should work (assuming it's location is
in your PATH and you have the right handlers set up to launch it)

More information about the Python-list mailing list