Download Standard Python Software
Note: there's a security fix for Python 2.2, 2.3 and 2.4. Of the releases below, only 2.4.4 and 2.5 and later include the fix. Python 2.6 and 3.0 are not affected.
The current production versions are Python 2.6.2 and Python 3.0.1. You should start here if you want to learn Python or if you want the most stable versions. Note that both Python 2.6 and 3.0 are considered stable production releases, but if you don't know which version to use, start with Python 2.6 since more existing third party software is compatible with Python 2 than Python 3 right now. Here are some quick download links.
For the MD5 checksums and OpenPGP signatures, look at the detailed Python 2.6.2 page:
- Python 2.6.2 compressed source tarball (for Linux, Unix or OS X)
- Python 2.6.2 bzipped source tarball (for Linux, Unix or OS X, more compressed)
- Python 2.6.2 Windows installer (Windows binary -- does not include source)
- Python 2.6.2 Windows AMD64 installer (Windows AMD64 binary -- does not include source)
- Python 2.6.2 Mac Installer Disk Image
Also look at the detailed Python 3.0.1 page:
- Python 3.0.1 compressed source tarball (for Linux, Unix or OS X)
- Python 3.0.1 bzipped source tarball (for Linux, Unix or OS X, more compressed)
- Python 3.0.1 Windows installer (Windows binary -- does not include source)
- Python 3.0.1 Windows AMD64 installer (Windows AMD64 binary -- does not include source)
- Python 3.0.1 Mac Installer Disk Image
This is a list of the standard releases, providing both source and binary installers. Consider your needs carefully before using a version other than the current production version.
- Python 3.0.1 (February 13, 2009)
- Python 2.6.2 (April, 14, 2009)
- Python 2.5.4 (December 23, 2008)
- Python 2.4.5 (December 19, 2008)
- Python 2.3.7 (March 11, 2008)
- Python 2.2.3 (May 30, 2003)
- Python 2.1.3 (April 8, 2002)
- Python 2.0.1 (June 2001)
- Python 1.6.1 (September 2000)
- Python 1.5.2 (April 1999)
- Older releases: Source releases, binaries-1.1, binaries-1.2, binaries-1.3, binaries-1.4, binaries-1.5
- ActiveState ActivePython (not open source)
- Enthought Python Distribution (a commercial distribution for scientific computing)
- Portable Python (Python and add-on packages configured to run off a portable device)
Information about specific ports, and developer info:
OpenPGP Public Keys
Starting with Python 2.3, the release manager has signed both the source tarball and the Windows executable with their OpenPGP key:
- Anthony Baxter (key id: 6A45C816)
- Martin v. Löwis (key id: 7D9DC8D2)
- Benjamin Peterson (key id: A4135B38)
- Barry Warsaw (key id: EA5BBD71 and ED9D77D5)
Note: Barry's key id EA5BBD71 is used to sign all Python 2.6 and 3.0 releases. His key id ED9D77D5 is a v3 key and was used to sign older releases.
You can import the release manager public keys by either downloading the public key file from here and then running
` % gpg --import pubkeys.txt `
or by grabbing the individual keys directly from the keyserver network by running this command:
` % gpg --recv-keys EA5BBD71 6A45C816 ED9D77D5 7D9DC8D2 A4135B38 `
On the version-specific download pages, you should see a link to both the downloadable file and a detached signature file. To verify the authenticity of the download, grab both files and then run this command:
` % gpg --verify Python-2.6.tgz.asc `
Note that you must use the name of the signature file, and you should use the one that's appropriate to the download you're verifying.
- These instructions are geared to GnuPG and Unix command-line weenies. Suggestions are welcome for other platforms and OpenPGP applications.*
Other Useful Items
- Looking for 3rd party Python modules? The Package Index has many of them.
- You can view the standard documentation online, or you can download it in HTML, PostScript, PDF and other formats. See the the main Documentation page.
- Information on tools for unpacking archive files provided on python.org is available.
- Tip: even if you download a ready-made binary for your platform, it makes sense to also download the source. This lets you browse the standard library (the subdirectory Lib) and the standard collections of demos (Demo) and tools (Tools) that come with it. There's a lot you can learn from the source!
- There is also a collection of Emacs packages that the Emacsing Pythoneer might find useful. This includes major modes for editing Python, C, C++, Java, etc., Python debugger interfaces and more. Most packages are compatible with Emacs and XEmacs.
Want to contribute? See the Python Developer's Guide to learn about how Python development is managed.
Python is OSI Certified Open Source:
