Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Moving Big Projects to Python 3

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Discover strategies for transitioning large-scale Python projects from version 2 to 3 in this EuroPython Conference talk. Learn about the challenges of moving extensive codebases, including dealing with clever tricks, unsupported libraries, and data format issues. Explore the crucial process aspects of migration, such as preparing your codebase, gaining team buy-in, and maintaining Python 2 compatibility. Gain insights on fixing development processes, replacing old libraries, strengthening test suites, and utilizing tools like 2to3. Understand the importance of porting utilities, creating migration scripts, and conducting careful staging tests. Follow a step-by-step approach to successfully move your project to Python 3, including strategies for production deployment and post-migration code cleanup.

Syllabus

Introduction
Moving from Python 2 to Python 3
Porting to Python 3
Preparing vs Planning
Prepare
Add hashes
Test coverage
Unit testing
Upgrade dependencies
Planning
Three questions
Deep magic
How big is your team
Do it in one go
Less time
High risk
Slow steady
Low risk
What you can do
Everyone gets involved
The drawback
Porting
Continuous Integration
Python modernize
Import errors
Fixing errors
Fixing errors book
Scripts
Migration tests
Push to staging
Push to production
Take it slow
Fall back to Python
Clean up
Summary

Taught by

EuroPython Conference

Reviews

Start your review of Moving Big Projects to Python 3

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.