This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

Python 2.x will no longer be supported after 1 Jan 2020. Python 2 reaches end of life in January 2020, and will no longer receive security updates. This page has resources to help with porting applications still running Python 2 to Python 3.

Writing code that runs under both Python2 and 3

Please note that Python 2.x will no longer be supported nor maintained after 1 January 2020. If you need additional support in porting existing 2.x code to 3.x, please see the resources available here.

Historical Information

For historical information that may be useful in porting or maintaining remaining Python 2 systems, please see previous page revisions.


2026-02-14 16:12