On Jan 15, 6:43 am, "James Mills"
wrote:
...
> That is a good idea :) Windows teaches you nothing!
Not true. Windows teaches you the art of the workaround...
--
http://mail.python.org/mailman/listinfo/python-list
On Mar 5, 6:47 pm, jjh wrote:
> On Jan 14, 10:01 pm, marco.m.peter...@gmail.com wrote:
[snipped]
> Sorry to bring this back up.
The correct thing to do is to start a NEW post. Marco's problem is
nothing to do with yours.
> I'm a newbie trying to run 2to3 on
> Windows. I ran the following:
>
On Jan 14, 10:01 pm, marco.m.peter...@gmail.com 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 it is a
> syntax error.
>
> This was
marco.m.peter...@gmail.com 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.
I believe 2to3 is will work 'best' with files modified to use some new
2.6 features (backported from 3.0) where 'best' m
On Jan 15, 5:52 pm, marco.m.peter...@gmail.com wrote:
> Oh okay. I don't think my Python installation is in PATH yet. I'll try
> to add it then.
Am I permitted to ask a really silly question?
Thanks.
Here it is: How much working 2.X code do you have that needs migrating
from 2.x to 3.x?
Cheers,
J
> 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
On Jan 15, 4:52 pm, marco.m.peter...@gmail.com wrote:
> Oh okay. I don't think my Python installation is in PATH yet. I'll try
> to add it then.
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
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
On Jan 15, 4:32 pm, marco.m.peter...@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.
On Thu, Jan 15, 2009 at 4:32 PM, 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 Setti
> 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 '$
On Thu, Jan 15, 2009 at 4:17 PM, wrote:
$ 2to3.py testscript.py
> File "", line 1
>$ 2to3.py testscript.py
>^
> Syntax Error: Invalid Syntax
Oh i see...
You need to do 2 things:
1) Run 2to3 on the shell not the python interpreter.
2) Learn some basic UNIX.
cheers
James
--
http://
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
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 it is a
> syntax error.
>
> This was the line of c
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
15 matches
Mail list logo