Migrating from Python 2.7 to Python 3
Offered By: LinkedIn Learning
Course Description
Overview
          Make the switch to Python 3. Learn how to migrate your code from Python 2.7 to Python 3 using manual and automated migration strategies and tools.
Syllabus
          Introduction
- Getting started with migrating Python
 
- The challenges of migrating from Python 2 to 3
 - Historical overview
 - The official how to guide
 - The obvious differences in Python 3
 
- The language syntax changes
 - Syntax changes that have to wait
 - Changes to the internal types
 - Changes to Python built-in functions
 - Changes to the Python standard library
 
- Navigation among the strategies
 - Readying the toolbox
 - Manual rewrite
 - Automated migration via 2to3
 - Final cleanup
 
- Overview of the features of six
 - Syntax wrapping with six
 - Handling class definitions with six
 - Using six to manage built-in functions
 - Using six with standard library changes
 
- Overview of the goals of unit testing
 - Capturing Python 2 features as tests
 - Mocking and monkey patching
 - Design for testability
 - Bugs: Fix or preserve?
 
- Overview of the features of 2to3
 - Syntax and class definitions
 - Built-ins and library migrations
 - Test automation with tox
 - Type checking with mypy
 
- Final thoughts
 - Continuing on with Python 3
 
Taught by
Steven Lott
Related Courses
Ruby on Rails: An IntroductionJohns Hopkins University via Coursera Internet of Things Capstone: Build a Mobile Surveillance System
University of California, San Diego via Coursera Engineering Maintainable Android Apps
Vanderbilt University via Coursera Orientação a Objetos com Java
Instituto Tecnológico de Aeronáutica via Coursera TDD – Desenvolvimento de Software Guiado por Testes
Instituto Tecnológico de Aeronáutica via Coursera