In the Software Center is a Python Library called PyGame. Libraries like this provide functionality such as image handling that you can easily incorporate into a game or UI (user interface) for other programs. It should be installed on your school computer.
For your personal computer at home: Go here and download the PyGame installer appropriate for your system. Make sure you download a Python 2.7 version.
To verify that you have PyGame installed properly, open IDLE or run Python via the Terminal and type in
import pygame
at the Python prompt. If this doesn’t result in any output, then you’re good.
If, on the other hand, it outputs an error like what’s shown below, then PyGame is not installed.
Python 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pygame Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named pygame >>>If you get an error like this, send me a message on Edmodo with your NEISD computer ID number (sticker on the top of your computer tower) and the error you got (example: software center says it's installed, but it is not in Start Menu). I'll try to get a help desk ticket filed for your school computer to get PyGame working soon.
For your personal computer at home: Go here and download the PyGame installer appropriate for your system. Make sure you download a Python 2.7 version.
To verify that you have PyGame installed properly, open IDLE or run Python via the Terminal and type in
import pygame
at the Python prompt. If this doesn’t result in any output, then you’re good.
If, on the other hand, it outputs an error like what’s shown below, then PyGame is not installed.
Python 2.7.2 (default, Jun 20 2012, 16:23:33) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import pygame Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named pygame >>>If you get an error like this, send me a message on Edmodo with your NEISD computer ID number (sticker on the top of your computer tower) and the error you got (example: software center says it's installed, but it is not in Start Menu). I'll try to get a help desk ticket filed for your school computer to get PyGame working soon.