Expanded Library

Migrating Python 2 to Python 3

by Anthony Shaw

Python 3 has been out for over a decade and is widely used around the world. In this course, you will learn how to migrate from Python 2 to Python 3 and how to benefit from Python 3's improved features and performance.

What you'll learn

At the core of a successful migration from Python 2 to 3 is a thorough knowledge of the differences, the strategies, and common pitfalls. In Migrating Python 2 to 3, you will learn how to assess your application and phase a migration without losing functionality or performance. First, you will learn what changed in Python 3 and how to update Python 2 code to be compatible. Next, you will explore strategies for migrating an application and how to phase the upgrade. Finally, you will discover how to leverage Python 3 features to accelerate the performance of your application. When you are finished with this course, you will have a foundational knowledge of Python 3 that will help you as you move forward to migrate any application from Python 2 to 3.

Table of contents

Course Overview

About the author

Open-Source advocate and Apache Software Foundation member

Ready to upskill? Get started