Advanced Python Topics: Migrating from Python 2 to Python 3

Python 3.0+
  • 7 Videos | 41m 54s
  • Includes Assessment
  • Earns a Badge
Likes 52 Likes 52
In this 7-video course, learners discover key differences between Python 2 and Python 3, as well as learn how to perform a Python 2 migration to Python 3. Several other topics are also covered. Begin by observing how to set up the Jupyter Notebook integrated developer environment (IDE) to run and develop Python 2 code by installing a kernel for it. The next two tutorials will examine the differences between Python 2 and Python 3—part 1 will recall the variations in syntax and output for various operations such as print, division, and round for Python 2 versus Python 3; and part 2 explores differences in the round function behavior and different ways to accept user input in Python versions 2 and 3. Next, use the 2to3 conversion tool to identify the lines in your Python 2 scripts that need to be altered for Python 3 compatibility, and finally, explore how to convert a Python 2 script to be Python 3 compatible by using the 2to3 conversion tool.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    set up the Jupyter Notebook IDE to run and develop Python 2 code by installing a kernel for it
    recall the variations in syntax and output for various operations such as print, division, and round for Python 2 versus Python 3
    recognize the differences in the round function behavior and the different ways to accept user input in Python versions 2 and 3
  • use the 2to3 conversion tool to identify the lines in your Python 2 scripts that need to be altered for Python 3 compatibility
    convert a Python 2 script to be Python 3 compatible using the 2to3 conversion tool
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 13s
    UP NEXT
  • Playable
    2. 
    Installing a Python 2 Kernel for Jupyter Notebook
    8m 57s
  • Locked
    3. 
    Differences Between Python 2 and Python 3 - Part 1
    8m 40s
  • Locked
    4. 
    Differences Between Python 2 and Python 3 - Part 2
    4m 38s
  • Locked
    5. 
    Using 2to3 to Identify Python 3 Compatibility
    8m 27s
  • Locked
    6. 
    Transforming Python 2 Scripts Using 2to3
    5m 27s
  • Locked
    7. 
    Course Summary
    1m 2s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 365 Likes 365