On Thu, Jan 15, 2009 at 4:32 PM, <[email protected]> wrote: > I tried to run it on the command prompt (I use Windows XP) but it > doesn't work either.
I did not realize you were using WIndows :) Normally most shells in the UNIX/Linux world start with a '$'. > 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. Your problem is, you are treating the '$' (most likely copied/pasted from readings on the web) as part of what you need to enter into the command prompt. '$' is (like I said above) normally part of most commonly configured shells (eg: Bash). You need to just enter: 2to3 testscript.py > Anyway I'll try some UNIX. Thanks. That is a good idea :) Windows teaches you nothing! cheers James -- http://mail.python.org/mailman/listinfo/python-list
