content_image/709657.jpg
# Porting Python 2 Code to Python 3 Release 3.9.5 

## Contents 

# Guido van Rossum and the Python development team 

Python Software Foundation Email: docs@python.org 

June 01, 2021 

<img src='content_image/709657.jpg'>

author Brett Cannon 

## Abstract 

With Python 3 being the future of Python while Python 2 is still in active use, it is good to have your project available for both major releases of Python. This guide is meant to help you figure out how best to support both Python 2 & 3 simultaneously. 

If you are looking to port an extension module instead of pure Python code, please see cporting-howto. 

If you would like to read one core Python developer’s take on why Python 3 came into existence, you can read Nick Coghlan’s Python 3 Q & A or Brett Cannon’s Why Python 3 exists. 

For help with porting, you can email the python-porting mailing list with questions. 

