Jump to content
Wikibooks The Free Textbook Project

Python Programming/Getting Python

From Wikibooks, open books for an open world

This is an old revision of this page, as edited by Dragonecc (discuss | contribs) at 12:06, 8 December 2007 (Installing Python on Ubuntu: Some minor typos). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision .

Revision as of 12:06, 8 December 2007 by Dragonecc (discuss | contribs) (Installing Python on Ubuntu: Some minor typos)

← Overview| Setting it up →

In order to program in Python you need the Python interpreter.

Installing Python in Windows

Go to Python Homepage or the ActiveState websiteActive State HomePage and get the proper version for your platform. Download it, read the instructions and get it installed.

In order to run Python from the command line, you will need to have the python directory in your PATH. Alternatively, you could use an Integrated Development Environment (IDE) for Python like DrPython[1], eric[2], or PyScripter[3].

Installing Python on Mac

Users on Apple Mac OS X will find that it already ships with Python 2.3 (OS X 10.4 Tiger), but it you want the more recent version head to Python Download Page follow the instruction on the page and in the installers. As a Bonus you will also install the Python IDE.

Installing Python on Ubuntu

Users of Ubuntu 6.04 (Dapper Drake) and earlier will noticed that Python comes install by default, only sometimes is not the latest version. It you will like to update just open a terminal and type at the prompt:

$sudoapt-getupdate# This will update the software repository
$sudoapt-getinstallpython# This one will actually install python

AltStyle によって変換されたページ (->オリジナル) /