Differences between revisions 1 and 97 (spanning 96 versions)
Revision 1 as of 2004-10-11 21:32:00
Size: 994
Comment: Create page
Revision 97 as of 2011-05-03 00:05:06
Size: 2328
Editor: MichaelFoord
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#acl All:read
Line 3: Line 5:
Before you start, you need Python on your computer, and you'll
probably need to download it. If you're learning Python for the first
time, you should download the most recent stable version. This is the
one with the highest number that isn't marked as an alpha or beta
release. Currently the stable version is [http://www.python.org/2.3/ Python 2.3].
Before you start, you will need Python on your computer, but you may not need to download it.
Line 9: Line 7:
If you're running Windows:
here's a page with the most stable Windows download:
[http://www.python.org/2.3/ Python 2.3 for Windows].
First of all check that you don't
already have Python installed by entering '''python''' in a command line window. If you see a response from a Python interpreter it will
include a version number in its initial display. Generally any recent version will do,
as Python makes every attempt to maintain backwards compatibility.
Line 13: Line 12:
If you are using a Mac, see the
[http://www.cwi.nl/~jack/macpython.html MacPython page].
MacOS 10.2 (Jaguar) and 10.3 (Panther) come with Python already installed.
If you need to install Python, you may as well download the most recent stable version.
This is the one with the highest number that isn't marked as an alpha or beta
release. Currently the stable version of Python 2 is [[http://www.python.org/download/releases/2.7.1/|Python 2.7.1]].
The current stable version of Python is [[http://python.org/download/releases/3.2/|Python 3.2].
Line 17: Line 17:
If you're using Linux, Python is probably packaged for your distribution. For advice on choosing between Python 2 and Python 3 see [[http://wiki.python.org/moin/Python2orPython3|Python 2 or 3]].
Line 19: Line 19:
  * For Red Hat, install the python2 and python2-devel packages.
  * For Debian, install the python2.2 and python2.2-dev packages.
'''If you're running Windows''':
the most stable Windows download (Python 2) is
[[http://www.python.org/ftp/python/2.7.1/python-2.7.1.msi|Python 2.7.1 for Windows]].
Line 22: Line 23:
For other systems, see the
[http://www.python.org/download/ general download page].
For Python 3 it is [[http://python.org/ftp/python/3.2/python-3.2.msi|Python 3.2 for Windows]].


'''If you're running Windows XP''':
a complete guide to installing ActivePython is at
[[http://www.richarddooling.com/index.php/2006/03/14/python-on-xp-7-minutes-to-hello-world/|Python on XP: 7 Minutes To "Hello World!"]]. ShowMeDo has [[http://showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries|two videos]] for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions.

'''If you are using a Mac''', see [[http://www.python.org/download/mac/|this page]].
MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python.

'''For Red Hat''', install the python2 and python2-devel packages.

'''For Debian or Ubuntu''', install the python2.x and python2.x-dev packages.

'''For Gentoo''', install the '=python-2.x*' ebuild (you may have to unmask it first).

'''For other systems''', or '''if you want to install from source''', see the
[[http://www.python.org/download/|general download page]].

Downloading Python

Before you start, you will need Python on your computer, but you may not need to download it.

First of all check that you don't already have Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility.

If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version of Python 2 is Python 2.7.1. The current stable version of Python is [[http://python.org/download/releases/3.2/|Python 3.2].

For advice on choosing between Python 2 and Python 3 see Python 2 or 3.

If you're running Windows: the most stable Windows download (Python 2) is Python 2.7.1 for Windows.

For Python 3 it is Python 3.2 for Windows.

If you're running Windows XP: a complete guide to installing ActivePython is at Python on XP: 7 Minutes To "Hello World!". ShowMeDo has two videos for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions.

If you are using a Mac, see this page. MacOS 10.2 (Jaguar), 10.3 (Panther), 10.4 (Tiger) and 10.5 (Leopard) already include various versions of Python.

For Red Hat, install the python2 and python2-devel packages.

For Debian or Ubuntu, install the python2.x and python2.x-dev packages.

For Gentoo, install the '=python-2.x*' ebuild (you may have to unmask it first).

For other systems, or if you want to install from source, see the general download page.

BeginnersGuide/Download (last edited 2022-11-04 18:41:16 by mtreinish)

Unable to edit the page? See the FrontPage for instructions.