Opening the book…
Mac OS X 10.5 comes with Python 2.5.1 pre-installed by Apple. Currently, Pygame only supports Python 2 and not Python 3. However, the programs in this book work with both Python 2 and 3.
The Python website also has some additional information about using Python on a Mac at http://docs.python.org/dev/using/mac.html.
This page titled 2.4: Mac OS X Instructions was last modified on Sun, 27 Oct 2019 23:25:27 GMT and is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Al Sweigart via source content that was edited to the style and standards of the LibreTexts platform.
The book could not be loaded just now.