Montreal Python Workshop/Friday/OSX interactive Python

From OpenHatch wiki
< Montreal Python Workshop‎ | Friday
Revision as of 02:22, 14 February 2013 by imported>Gward (Created page with "{{:Boston_Python_Workshop_7/Friday/OSX_interactive_Python}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Start up a Terminal command prompt. You can find the Terminal application through Spotlight, or navigate to Applications/Utilities/Terminal.
  2. To start Python, type

    at the command prompt and hit enter. You should see something like

    Python 2.7.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.
    The >>> indicates that you are at a Python prompt.
  3. Exit the Python prompt by typing
    and hitting enter. Now you're back at the OS X command prompt (which looks something like jesstess$).


Practice these steps until you feel comfortable navigating to a command prompt, starting Python, and exiting Python.

« Back to the Friday setup page