some questions about Pygame on MacOS-X

hi, i have some questions about Pygame on MacOS-X (related to PyWeek) - i'm asking this because i'm mostly using Ubuntu-Linux for Python and Pygame coding, and rarelly MacOS-X (where i still used to struggle a bit about coding...):
1- how can we run the run_game.py files else from Terminal?
2- how can we install all those librares some PyWeek games needs, like those usual ones like NumPY or Pyglet, or those custom ones (like those found at code.google or on personal websites)?
3- i lost some time on google finding Python 2.6 (which i had to update to this) and Pygame 1.9 installers for MacOS-X - is there some ready webpage with instructions of how can we install the most needed, and the exact url of the packages (or installers)?

(log in to comment)

Comments

1 - It's possible to set up an association between .py files and Python: right-click on the file, select Open With, and choose the Python Launcher (which you'll have if you've installed Python from python.org). However, I generally find it easiest to use the Terminal, and I suspect most OSX folks would agree.

2 - Both the Numpy and Pyglet websites have easy to use installers for OSX, available from their websites. As for smaller libraries, in a lot of cases you simply want to dump the library's directory or files directly into your source tree. Otherwise, I'd suggest having a look at the README for the library in question.

3 - If you've got the latest Python, Pygame and Pyglet you should have no trouble with most Pyweek entries (beyond the inevitable bugs). I don't think it's a good idea to link directly to specific files, as these are prone to change, but packages for all three are easily accessible from the relevant websites.

thanks! :)
The .pyw shipped with the PyWeek skellington works as a double-click launcher on OS X.
@richard - a question may sound stupid: what is the difference between .py and .pyw ? (i'm asking this because i use only .py, and had no problems with that afaik on Linux...)
.pyw on Windows / OS X will run the program with python an no console window. .pw will run it in a console window.
agh. ".py" not ".pw" obviously
is .pyw just a filename suffix for associations, and both .py and .pyw can have exactly the same code? like just creating a copy like from 'cp run_game.py run_game.pyw' ?
correct