Beginner in Python

Cliff Wells logiplexsoftware at earthlink.net
Tue Nov 6 17:26:39 EST 2001


On Tuesday 06 November 2001 14:02, Christian Schnell wrote:

> File "<stdin>", line 1
>    python helloworld.py
>                             ^
>
> SyntayError: invalid syntax
>

You are apparently trying to type this line at the Python prompt.  Do not do 
this.  At the MSDOS _command_ prompt ( e.g. c:\> ), type

python helloworld.py

By the way, when pasting error messages, try to avoid editing them as this 
obscures the message (since you are new to Python, you might not realize the 
importance of something you are deleting - in this case you deleted the ">>>" 
python prompt which would be an obvious indicator to someone reading it that 
you were doing this in the Python interactive interpreter). 


-- 
Cliff Wells
Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308
(800) 735-0555 x308




More information about the Python-list mailing list