Hi,

On 17 April 2013 06:11, Jim Mooney <cybervigila...@gmail.com> wrote:

> > Generally the 2to3 script does an OK job. If you're using Windows it's
> > [Python_Dir]\Tools\Scripts\2to3.py.
> >
> > http://docs.python.org/3/library/2to3
> ================================
>
> Thanks. I didn't know where to find it and thought I had to install it.
>
> I opened a command window in my Python33/progs dir, started Python,
> and ran it on a tiny test program called loops.py but I get "invalid
> syntax" Any idea why?:
>
> >>> 2to3 loops.py
>   File "<stdin>", line 1
>     2to3 loops.py
>        ^
> SyntaxError: invalid syntax


As additional background to eryksun's response, please read this:
http://www.voidspace.org.uk/python/articles/command_line.shtml

Walter
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to