Difference between revisions of "Python on Linux"

From OpenHatch wiki
Jump to navigation Jump to search
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>Paulproteus
Line 23: Line 23:
 
and press Enter. This will take you back to the Terminal command prompt.</li>
 
and press Enter. This will take you back to the Terminal command prompt.</li>
 
</ol>
 
</ol>
  +
  +
'''Success!'''
  +
  +
  +
[[Boston Python workshop 2/Friday setup|&laquo; Back to the Friday setup page]]

Revision as of 14:37, 9 May 2011

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.

  1. Start up a terminal. You can find the Terminal application at Applications/Accessories/Terminal, or it may already be on your menu bar.
  2. Test your Python install at the command prompt. Type python and hit enter. You should see something like
    Python 2.5.2 (r252:60911, Jan 24 2010, 17:44:40) 
    [GCC 4.3.2] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> 
    
  3. To exit the Python prompt, type
    exit()
    
    and press Enter. This will take you back to the Terminal command prompt.

Success!


« Back to the Friday setup page