Boston Python Workshop 4/Friday/OSX interactive Python: Difference between revisions
Content added Content deleted
imported>Jesstess (Created page with '<ol> <li>Start up a Terminal command prompt. You can find the Terminal application through Spotlight, or navigate to Applications/Utilities/Terminal.</li> <li>To start Python, ty…') |
imported>Jesstess m (Protected "Boston Python Workshop 4/Friday/OSX interactive Python" ([edit=autoconfirmed] (indefinite) [move=autoconfirmed] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 22: | Line 22: | ||
</pre> |
</pre> |
||
and hitting enter. Now you're back at the OS X command prompt.</li> |
and hitting enter. Now you're back at the OS X command prompt (which looks something like <code>jesstess$</code>).</li> |
||
</ol> |
</ol> |
||
Latest revision as of 21:57, 27 September 2011
- Start up a Terminal command prompt. You can find the Terminal application through Spotlight, or navigate to Applications/Utilities/Terminal.
- To start Python, type
python
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. - Exit the Python prompt by typing
exit()
and hitting enter. Now you're back at the OS X command prompt (which looks something likejesstess$
).
Success!
Practice these steps until you feel comfortable navigating to a command prompt, starting Python, and exiting Python.