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.
The current production version is Python 2.5. You should start here if you want to learn Python or if you want the most stable version. Here are some quick download links. For the MD5 checksums and OpenPGP signatures, look at the detailed Python 2.5 page:
Python 2.5 compressed source tarball (for Unix or OS X compile)
Python 2.5 bzipped source tarball (for Unix or OS X compile, more compressed)
- Python 2.5 Windows installer
(Windows binary -- does not include source)
Python 2.5 Windows AMD64 installer (Windows AMD64 binary -- does not include source)
Python 2.5 Windows Itanium installer (Windows Itanium binary -- does not include source)
Python 2.5 for Macintosh OS X -- this is a universal installer that runs native on both PPC and Intel Macs.
This is a list of the standard releases, both source and Windows installers. Consider your needs carefully before using a version other than the current production version:
- Python 2.5 (September 19, 2006)
- Python 2.4.4 (October 18, 2006)
- Python 2.3.6 (November 1, 2006)
- 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)
Information about specific ports, and developer info:
Starting with Python 2.3, the release manager has signed both the source tarball and the Windows executable with their OpenPGP key:
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 6A45C816 ED9D77D5 `
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.4.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.*
- 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.