New guy question

Glen Mettler Glen.Mettler at home.com
Sun Jun 10 09:04:35 EDT 2001


OK...I went back to the beginning and discovered that the author of the
tutorial showed me three windows.
One with a black background that he described as the Python prompt (>>>)
(title is Python)
One with a white background that he described as IDLE - also with a Python
prompt (title is Python Shell)
One with a black background that he described as the "command" window that
in fact is the DOS window (title MS DOS Prompt)

I went to the MS DOS Prompt ("Command") and typed in python alook.py and got
an error message:  Bad command or file name.


"Glen Mettler" <Glen.Mettler at home.com> wrote in message
news:TiyU6.127784$I5.32725119 at news1.rdc1.tn.home.com...
> I have a small script I entered from a Python book that works when I run
it
> using F5.
> However, when I go to the console and enter python alook.py, I get an
error
> message:  >
> >>> python alook.py
> SyntaxError: invalid syntax
>
> I am too new to this to know why.
>
> Glen
>
>





More information about the Python-list mailing list