Python 3.7

Python 3.7 3.7.9

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

Download for Windows

About Python 3.7

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

What's new in 3.7.9

Security
- bpo-41304: Fixes python3x._pth being ignored on Windows, caused by the fix for bpo-29778 (CVE-2020-15801).
- bpo-29778: Ensure python3.dll is loaded from correct locations when Python is embedded (CVE-2020-15523).
- bpo-41004: CVE-2020-14422: The hash() methods of ipaddress.IPv4Interface and ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and 128 respectively. This resulted in always causing hash collisions. The fix uses hash() to generate hash values for the tuple of (address, mask length, network address).
- bpo-39603: Prevent http header injection by rejecting control characters in http.client.putrequest(…).
Core and Builtins
- bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() correctly
Library
- bpo-41288: Unpickling invalid NEWOBJ_EX opcode with the C implementation raises now UnpicklingError instead of crashing.
- bpo-39017: Avoid infinite loop when reading specially crafted TAR files using the tarfile module (CVE-2019-20907).
- bpo-41235: Fix the error handling in ssl.SSLContext.load_dh_params().
macOS
- bpo-41100: Additional fixes for testing on macOS 11 Big Sur Intel. Note: macOS 11 is not yet released, this release of Python is not fully supported on 11.0, and not all tests pass.

Full release notes »

Technical details

PublisherPython Software Foundation
Version3.7.9
Release date2020-08-15
LicensePSF-2.0
Installer typeburn
Architecturex86, x64
Package IDPython.Python.3.7
Install scopeCurrent user

Install Python 3.7 from the command line

Install with Windows Package Manager
winget install --id=Python.Python.3.7 -e
Update to the latest version
winget upgrade --id=Python.Python.3.7 -e
Uninstall
winget uninstall --id=Python.Python.3.7 -e
Silent install with the offline installer
"python-3.7.9-amd64.exe" /quiet /norestart InstallAllUsers=0 PrependPath=1
Install to a custom folder
"python-3.7.9-amd64.exe" DefaultJustForMeTargetDir=D:\Apps\Python 3.7
Uninstall the MSI package
msiexec /x {9df6f8e6-72f4-474f-a929-37485bb7537e} /quiet

Python 3.7 adds these commands to the command line: py, python, pythonw, pyw.

languageprogrammingprogramming-languagepythonpython3script

File types supported by Python 3.7

Python 3.7 can open or be associated with 7 file types:

.py.pyc.pyd.pyo.pyw.pyz.pyzw

Python 3.7 version history

3.7.8 Jun 27, 2020

Tests
- bpo-41009: Fix use of support.require_{linux|mac|freebsd}_version() decorators as class decorator.
macOS
- bpo-41100: Fix configure error when building on macOS 11. Note that 3.7.8 was released shortly after the first developer preview of macOS 11 (Big Sur); there are other known issues with building and running on the developer preview. Big Sur is expected to be fully supported in a future bugfix release of Python 3.8.x and with 3.9.0.

3.7.7 Mar 10, 2020

Library
- bpo-13487: Avoid a possible “RuntimeError: dictionary changed size during iteration” from inspect.getmodule() when it tried to loop through sys.modules.
Documentation
- bpo-17422: The language reference no longer restricts default class namespaces to dicts only.

3.7.6 Dec 18, 2019

macOS

  • bpo-38295: Prevent failure of test_relative_path in test_py_compile on macOS Catalina.

Other versions

  • 3.7.5
  • 3.7.4
  • 3.7.3
  • 3.7.2
  • 3.7.1
  • 3.7.0

Frequently asked questions

Is Python 3.7 free?

Python 3.7 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 3.7?

The latest version is 3.7.9, released on Aug 15, 2020.

Is it safe to download Python 3.7?

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

Which Windows versions does Python 3.7 support?

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

How do I install Python 3.7 silently?

Run the offline installer with "python-3.7.9-amd64.exe" /quiet /norestart InstallAllUsers=0 PrependPath=1, or install it with Windows Package Manager: winget install --id=Python.Python.3.7 -e --silent.

How do I uninstall Python 3.7?

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

What file types can Python 3.7 open?

Python 3.7 supports 7 file types, including .py, .pyc, .pyd, .pyo, .pyw, .pyz, .pyzw.