1.1 Getting and Installing MacPython-OSX

Python PEP

1.1 Getting and Installing MacPython-OSX

As of Python 2.3a2 the only sure way of getting MacPython-OSX on your machine is getting a source distribution and building what is called a "framework Python". The details are in the file Mac/OSX/README.

As binary installers become available the details will be posted to http://www.cwi.nl/~jack/macpython.html.

What you get after installing is a number of things:

  • A MacPython-2.3 folder in your Applications folder. In here you find the PythonIDE Integrated Development Environment; PythonLauncher, which handles double-clicking Python scripts from the Finder; and the Package Manager.

  • A fairly standard Unix commandline Python interpreter in /usr/local/bin/python, but without the usual /usr/local/lib/python.

  • A framework /Library/Frameworks/Python.framework, where all the action really is, but which you usually do not have to be aware of.

To uninstall MacPython you can simply remove these three things.

PythonIDE contains an Apple Help Viewer book called "MacPython Help" which you can access through its help menu. If you are completely new to Python you should start reading the IDE introduction in that document.

If you are familiar with Python on other Unix platforms you should read the section on running Python scripts from the Unix shell.


See About this document... for information on suggesting changes.