Anonymous user
Skillshare intro to Python/Unit 1/Linux set up Python: Difference between revisions
Skillshare intro to Python/Unit 1/Linux set up Python (view source)
Revision as of 00:04, 14 June 2013
, 10 years agono edit summary
imported>Jesstess No edit summary |
imported>Jesstess No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1:
[[File:Python-logo.png|300px]]
Lucky for us, Linux comes with Python installed! All we need to do is make sure we have an appropriate version of Python installed and make sure we can start a Terminal and run Python from the command line.
Line 7 ⟶ 9:
<br />
This Terminal
</li>
<li>Test your Python install at the command prompt. Type
Line 15 ⟶ 17:
</pre>
and
<pre>
Python 2.7.5 (r252:60911, Jan 24 2011, 17:44:40)
Line 24 ⟶ 26:
</li>
* You just started Python! The <code>>>></code> indicates that you are at a new type of prompt -- a Python prompt. The command prompt lets you navigate your computer and run programs, and the Python prompt lets you write and run Python code interactively.<br />
</li>
<li>To exit the Python prompt, type
Line 36 ⟶ 38:
and press Enter. This will take you back to the Linux command prompt.</li>
</ol>
== Success! ==
|