Migrating Python 2 to Python 3

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.
Course info
Level
Intermediate
Updated
Mar 5, 2018
Duration
1h 52m
Table of contents
Course Overview
Why Move to Python 3?
Porting Strategies
Changes to Core Types
Standard Library Changes
Moving Away from Python 2
Description
Course info
Level
Intermediate
Updated
Mar 5, 2018
Duration
1h 52m
Description

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.

About the author
About the author

Open-Source advocate and Apache Software Foundation member

More from the author
What's New in Python 3.7
Intermediate
56m
1 Jun 2018
Transcript
Transcript

Hi everyone, my name is Anthony Shaw and welcome to my course Migrating Python 2 to Python 3.

I am a Python Enthusiast at the Apache Software Foundation.

Python 3 has been out for over a decade now and still the majority of production applications are running on Python 2! Python 3 is faster, has some amazing new features like asynchronous programming and type hinting.

In this course, we are going to migrate a Python 2 application to Python 3, the right way.

Some of the major topics that we will cover include:

  • Strategies for porting
  • Changes to the core types in Python 3
  • Automated tools and where to use them
  • Leveraging Python 3 features

By the end of this course, you’ll know how to migrate any application, big or small, to Python 3.

Before beginning the course you should be familiar with the basics of Python and Python 2.

From here, you should feel comfortable diving into Python 3 with courses on:

  • Concurrency and asyncio

I hope you’ll join me on this journey to learn Python 3 migrations with the Migrating Python 2 to 3 course, at Pluralsight.