Skip to content

Opening book details…

About this document

Porting Python 2 to Python 3 Guide by Alisha Agarwal is a document available to read on EtoBox.

This document provides guidance on porting Python 2 code to be compatible with both Python 2 and Python 3. It recommends dropping support for Python versions older than 2.7, ensuring tests have high coverage, learning the differences between Python 2 and 3, using tools like Futurize and Modernize to update code automatically, manually addressing issues like division changes, and using continuous integration to maintain compatibility.

Author
Alisha Agarwal
Language
EN