need help with game

Peter Hansen peter at engcorp.com
Wed Apr 2 17:41:26 EST 2003


BBFoto wrote:
> 
> I copied your line and pasted it.
> 
> File "<stdin>", line 1
>     C:\Python22\Python.exe "c:/program
> files/pysol/pysol-4.80/data/PySol_22.pyc"
> 
>      ^
> SyntaxError: invalid syntax

This is a message from the Python interpreter.  You should
not be *in* the interactive interpreter when you type that.
It is an MS-DOS command, to execute the bytecode in the .pyc
file using the python.exe executable.

May I suggest you read some parts of the FAQ at www.python.org, 
and also go through the Python tutorial available there, before
trying to do much more?  You are missing a substantial amount of
background knowledge necessary to understand the advice you are
being given, both in Python and Windows/DOS.

-Peter




More information about the Python-list mailing list