newbie question

Erik Max Francis max at alcyone.com
Wed Oct 31 12:47:58 EST 2001


Emile van Sebille wrote:

> " 1" <jnlc at bellsouth.net> wrote in message
> news:yXVD7.6251$QL2.175221 at e3500-atl1.usenetserver.com...
>
> > When I got to run the file (by typing python hello.py)i get this
> > error
> > message:
> >
> > >>> python hello.py
> > SyntaxError: invalid syntax
> > >>>
	...
> 
> You've got a syntax error in the file, probably extra spaces

No, look closely -- he's typing "python hello.py" in the Python
interpreter itself.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list