Beginner in Python

Emile van Sebille emile at fenx.com
Tue Nov 6 17:50:25 EST 2001


Hah... I got caught explaining this one last week.  ;-)

You are to type "python helloworld.py" at the dos prompt
("C:\Dir\Of\HelloWorld>"), not the python prompt (">>>").  I suspect that as
double click it in the explorer that everything else required is already in
place.

--

Emile van Sebille
emile at fenx.com

---------
"Christian Schnell" <schrist at gmx.net> wrote in message
news:3BE85DF9.CDF844D2 at gmx.net...
> Hi,
>
> I wanted to start programming in python today and had some problems.
> I wrote the famous "Hello, world"-programm and saved it as
> helloworld.py. If I open the programm directly in the explorer it works
> but I cannot start it from Ms-Dos. If I type python helloworld.py I get
> the message:
>
> File "<stdin>", line 1
>    python helloworld.py
>                             ^
>
> SyntayError: invalid syntax
>
> What is my mistak? Can anyone help me?
>
> Thank you,
>
> Christian
>
> --
> Don't panic.
>
> ICQ 116707729
>
>




More information about the Python-list mailing list