Anonymous user
O'Reilly Introduction to Python/Section 1/OSX set up Python: Difference between revisions
O'Reilly Introduction to Python/Section 1/OSX set up Python (view source)
Revision as of 02:21, 27 May 2014
, 10 years agono edit summary
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
Line 6:
__TOC__
== Download and install Python ==
* <b>If you are running OS X version 10.6 or later</b>, click https://www.python.org/ftp/python/3.4.1/python-3.4.1-macosx10.6.dmg to download the Python installer.
* <b>If you are running OS X version 10.5</b>, click and download the Python installer from [https://www.python.org/ftp/python/3.4.1/python-3.4.1-macosx10.5.dmg this link instead].
* <b>If you have a version of OS X older than 10.5</b>, please upgrade to a newer version of OS X before installing Python.
Once the download is complete, double-click on the installer to run it and complete the installation.
== Checking your Python installation ==
Line 23 ⟶ 31:
and press Enter. You should see something like
<pre>
Python
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Line 30 ⟶ 38:
You just started Python! The <code>>>></code> indicates that you are at a new type of prompt -- a Python prompt. The command prompt let's you navigate your computer and run programs, and the Python prompt lets you write and run Python code interactively.<br />
</li>
|