Re: 2to3 Help?

2009-01-14 Thread marco . m . petersen
> I don't yet have 3.0 installed, but my guess is you'll also need to > have 'C:\Python30\Scripts' in your path as well. I'm assuming that's > where it resides, so check first. Its in C:\Python30\Tools\Scripts. Anyway it now works. C:\Documents and Settings\User>python C:\Python30\Tools\Scripts

Re: 2to3 Help?

2009-01-14 Thread marco . m . petersen
Oh okay. I don't think my Python installation is in PATH yet. I'll try to add it then. -- http://mail.python.org/mailman/listinfo/python-list

Re: 2to3 Help?

2009-01-14 Thread marco . m . petersen
> 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 '$

Re: 2to3 Help?

2009-01-14 Thread marco . m . petersen
On Jan 15, 2:09 pm, "James Mills" wrote: > On Thu, Jan 15, 2009 at 4:01 PM,   wrote: > > 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

2to3 Help?

2009-01-14 Thread marco . m . petersen
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 appreci