newbie question
Cliff Wells
logiplexsoftware at earthlink.net
Wed Oct 31 14:57:55 EST 2001
On Wednesday 31 October 2001 11:49, lance crocker wrote:
> i just tried putting that path into the autoexec file and rebooting.
> it didn't change anything i still get the same errors.
>
> when you go to open a file how do you do it? do you type python
> hello.py while you are in commandline mode or while you are in gui
> mode?
There was an earlier post with the answer to your question. In your original
post you said you did the following:
>>> python hello.py
SyntaxError: invalid syntax
>>>
The ">>>" shows me that you are _in_ the Python interpreter. That means you
don't need to try to run it again (in fact, as you discovered, you can't).
Instead, at the DOS/Windows command line, type
c:\>python hello.py
be sure you are in the same directory as hello.py
Regards,
--
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