Boston Python Workshop/Friday handout/OS X 10.6 or 10.5

Python
Python is pre-installed with Mac OS. To run it, open a Terminal.

To get to Terminal:


 * Open Finder
 * Click on Applications
 * Open the Utilities sub-folder
 * Double-click on the Terminal application

Once you have a Terminal, you can get to Python by typing:

python

and pressing enter. You should see something like this:

Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>

To exit Python, type Ctrl-d (not Command-d!).