Python 2

Python 2 2.7.18150

Python is a programming language that lets you work more quickly and integrate your systems more effectively.

Download for Windows

About Python 2

Python is a programming language that lets you work more quickly and integrate your systems more effectively.

Technical details

PublisherPython Software Foundation
Version2.7.18150
LicensePSF-2.0
Installer typemsi
Architecturex86, x64
Package IDPython.Python.2
Install scopeAll users

Install Python 2 from the command line

Install with Windows Package Manager
winget install --id=Python.Python.2 -e
Update to the latest version
winget upgrade --id=Python.Python.2 -e
Uninstall
winget uninstall --id=Python.Python.2 -e
Silent install with the offline installer
msiexec /i "python-2.7.18.amd64.msi" /quiet /norestart
Uninstall the MSI package
msiexec /x {A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6} /quiet

Python 2 adds these commands to the command line: python, pythonw.

languageprogrammingprogramming-languagepythonpython2script

File types supported by Python 2

Python 2 can open or be associated with 4 file types:

.py.pyc.pyo.pyw

Python 2 version history

2.7.17150
2.7.16150
2.7.15150

Other versions

  • 2.7.14150
  • 2.7.13150
  • 2.7.12150
  • 2.7.11150
  • 2.7.10150
  • 2.7.9150

Frequently asked questions

Is Python 2 free?

Python 2 is psf-2.0 software from Python Software Foundation. Check the publisher's license terms for pricing and usage rights.

What is the latest version of Python 2?

The latest version is 2.7.18150.

Is it safe to download Python 2?

The download button links to the official installer published on python.org, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with b74a3afa1e0bf2a6fc566a7b70d15c9bfabba3756fb077797d16fffa27800c05.

Which Windows versions does Python 2 support?

Python 2 runs on Windows and is available for 32-bit (x86), 64-bit (x64) systems.

How do I install Python 2 silently?

Run the offline installer with msiexec /i "python-2.7.18.amd64.msi" /quiet /norestart, or install it with Windows Package Manager: winget install --id=Python.Python.2 -e --silent.

How do I uninstall Python 2?

Open Settings › Apps › Installed apps, find Python 2 and select Uninstall. From the command line, run winget uninstall --id=Python.Python.2 -e.

What file types can Python 2 open?

Python 2 supports 4 file types, including .py, .pyc, .pyo, .pyw.