Python on OSX: Difference between revisions
Content added Content deleted
imported>Jesstess (Created page with 'OS X ships with Python installed, so the goal of this page is to make sure you can start a Terminal and run Python from the command line. <ol> <li>Start up a Terminal. You can …') |
imported>Paulproteus No edit summary |
||
Line 21: | Line 21: | ||
and press Enter. This will take you back to the Terminal command prompt.</li> |
and press Enter. This will take you back to the Terminal command prompt.</li> |
||
</ol> |
</ol> |
||
'''Success!''' |
|||
[[Boston Python workshop 2/Friday setup|« Back to the Friday setup page]] |
Revision as of 14:37, 9 May 2011
OS X ships with Python installed, so the goal of this page is to make sure you can start a Terminal and run Python from the command line.
- Start up a Terminal. You can find the Terminal application through Spotlight, or navigate to Applications/Utilities/Terminal
- Test your Python install at the command prompt. Type
python
and hit enter. You should see something like
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>
- To exit the Python prompt, type exit() and press Enter. This will take you back to the Terminal command prompt.
Success!