[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pygame for portable python



dear list, i need pygame for

www.portablepython.com

i need it for teaching programming to total beginners. i choose python 3.0.1
version of portable python, because it avoids some problems that would confuse
programming beginners ( for example the integer division problem)

later in the course i introduce pygame and let them program a very simple
breakout like game and a baloon pop game.

question: is pygame already compatible with python 3.0.1 ?


i tried installing the binary release:

"pygame-1.8.1.win32-py2.6.msi ~  1.4M (python2.5.4 is the best python on windows
at the moment)"

would it help if i would try a svn - nightly build version ?


currently, i get the error message:


"Traceback (most recent call last):
  File "<string>", line 248, in run_nodebug
  File "C:\Dokumente und Einstellungen\herc\Eigene Dateien\module1.py", line 2,
in <module>
    from pygame import *
  File "c:\PortablePython3\App\lib\site-packages\pygame\__init__.py", line 70
    raise NotImplementedError, MissingPygameModule
                             ^
SyntaxError: invalid syntax"


kind regards and thanks in advance !