Linux set up Python: Difference between revisions

no edit summary
imported>Jesstess
(Created page with 'Linux 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>Mako
No edit summary
 
(8 intermediate revisions by 5 users not shown)
Line 1:
:''To install Pythong using the Anaconda distribution, see [[Linux set up Python (Anaconda)]].''
 
Linux 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 find the Terminal application at <tt>Applications/Accessories/Terminal</tt>, or it may already be on your menu bar.<br />
 
<br />
Line 22 ⟶ 24:
</li>
 
* 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 />
 
* If the Python version number (2.7.1 in the example above) is not a number between 2.4 and 2.7 (ignoring the number after the second dot), tell a staff member.
Line 37 ⟶ 39:
You might need to install a package called python-tk.
 
'''== Success!''' ==
 
You have tested your Python installation.
 
You have tested your Python installation.!
[[Getting started with Python|&laquo; Back to the main page]]
Anonymous user