Editing Linux set up Python
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
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. | 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> | <ol> | ||
<li>Start up a Terminal. You can find the Terminal application at | <li>Start up a Terminal. You can find the Terminal application at Applications/Accessories/Terminal, or it may already be on your menu bar.<br /> | ||
<br /> | <br /> | ||
Line 24: | Line 22: | ||
</li> | </li> | ||
* You just started Python! The <code>>>></code> indicates that you are at a new type of prompt | * 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. | * 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 41: | Line 39: | ||
== Success! == | == Success! == | ||
You have tested your Python installation | You have tested your Python installation. |