How to port Python 2 Code to Python 3¶ author: Brett Cannon Python 2 reached its official end-of-life at the start of 2020. This means that no new bug reports, fixes, or changes will be made to Python 2 - it’s no longer supported: see PEP 373 and status of Python versions. If you are looking to port an extension module instead of pure Python code, please see Porting Extension Modules to Python 3.
![How to port Python 2 Code to Python 3](https://cdn-ak-scissors.b.st-hatena.com/image/square/3a53e982d46d56c53fb3e7f0b5e3d2ce30a8f391/height=288;version=1;width=512/https%3A%2F%2Fdocs.python.org%2F3%2F_static%2Fog-image.png)