need help with game

Peter Hansen peter at engcorp.com
Wed Apr 2 10:23:12 EST 2003


BBFoto wrote:
> 
> execfile('c:/program files/pysol/pysol-4.80/data/PySol_22.pyc')
> 
> invalid syntax

Why would you pass it the .pyc file when the example showed it
being passed the name of the .py file?  The two are not the
same thing; you can't use execfile() with a .pyc file!

-Peter




More information about the Python-list mailing list