Anyone get python on win98??

David C. Ullrich ullrich at math.okstate.edu
Mon Jan 29 10:00:01 EST 2001


On Sun, 28 Jan 2001 23:30:19 GMT, "shaka" <fabrice.n at home.com> wrote:

As has been pointed out, that's the system command line, not
the Python interpreter "command line".

You can also execute your scripts directly from, say,
Windows Explorer. There's a bit of uncertainty below
because I don't recall how much of my setup was
installed by Python and how much by me. Do this:

Start Windows Explorer. Find a .py file. Double-click
on it. It may happen that it simply runs for you - if
so great. If not then you'll get that "Open With" dialog.
Hit the Browse button and find python.exe - it's
probably something like 

Program Files\Python\python.exe.

>
>It just doesn't work: it gives me an error message like:
>
>File "<stdin>", line 1
>    c:\programming\python20>python hello.py
>     ^
>SyntaxError: invalid syntax
>
>so what do I do???
>
>
>
>> From the command line type:
>>
>> C:\programming\python20> python script.py
>>
>> --
>> <==================================>
>> Bryan Mongeau
>> Lead Developer, Director
>> eEvolved Real-Time Technologies Inc.
>> www.eevolved.com
>> <==================================>
>>
>> "No, this trick won't work...How on earth are you ever going to explain in
>> terms of chemistry and physics so important a biological phenomenon as
>> first love?"-- Einstein
>>
>
>




More information about the Python-list mailing list