What am I doing wrong?
Lee Harr
missive at frontiernet.net
Thu May 30 22:00:00 EDT 2002
> But I am trying to follow the examples in Learning Python which instructs
>
> % cat threenames.py
> [example code]
>
This is just for reading the script (looking at it)
and has nothing to do with python.
> but the only prompt I get is the >>>. If I type % cat threenames.py after
> that prompt I get this,
> File "<stdin>", line 1
> % cat threenames.py
> ^
> SyntaxError: invalid sytax
> >>>
>
> So, what am I missing here? I am pouring other the various Python books I
> have and I can't see what I am doing wrong. I figure it is something
> straight foward, I just don't know what it is. If anyone could help me
> here, I would appreciate it.
>
Try:
python threenames.py
More information about the Python-list
mailing list