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 21:19, 7 December 2007 (Add the steps for Installing on Mac and Ubuntu). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision .

Revision as of 21:19, 7 December 2007 by Dragonecc (discuss | contribs) (Add the steps for Installing on Mac and Ubuntu)

← 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.

Installin Python on Ubuntu

Users of Ubuntu 6.04 (Dapper Drake) and earlier will noticed that Python comes install by default on there setup. It you will like to update just open a terminal and type at the prompt:

$sudoapt-getupdate
$sudoapt-getinstallpython25

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