need help with game

BBFoto bbfoto2002 at netscape.net
Wed Apr 2 10:15:16 EST 2003


execfile('c:/program files/pysol/pysol-4.80/data/PySol_22.pyc')

invalid syntax 

???

Thanks

BB



On Wed, 2 Apr 2003 13:02:52 +0400, "Raseliarison nirinA"
<nirina at mail.blueline.mg> wrote:

>> >"BBFoto" <bbfoto2002 at netscape.net> wrote:
>> >
>> >> I run the Python executable and type in "PySol" at the prompt on the
>> >> black screen and get "name not defined."
>> >
>> >What happens if you type:
>> >import PySol
>
>> "module not found"
>
>I suppose 'PySol.py' is the full name of your game and it is located at
>'c:/your/game/directory', so you can try:
>
>import os
>os.chdir('c:/your/game/directory')
>execfile('PySol.py')
>
>or in one line:
>
>execfile('c:/your/game/directory/PySol.py')
>
>nirinA
>
>
>
>
>





More information about the Python-list mailing list