Advanced Python Topics: Migrating from Python 2 to Python 3
Python
| Beginner
- 7 videos | 39m 24s
- Includes Assessment
- Earns a Badge
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 courseSet up the jupyter notebook ide to run and develop python 2 code by installing a kernel for itRecall the variations in syntax and output for various operations such as print, division, and round for python 2 versus python 3Recognize 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 compatibilityConvert a python 2 script to be python 3 compatible using the 2to3 conversion toolSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 13s
-
8m 57sIn this video, you will learn how to set up a system to use Python 2 and then in the subsequent videos, you will take a look at the differences between Python 2 and 3. FREE ACCESS
-
8m 40sIn this video, you will learn about the differences between Python 2 and Python 3. You will also discover how to perform common operations in both versions of Python. FREE ACCESS
-
4m 38sAnother difference between Python 2 and 3 is in the output of the round function. FREE ACCESS
-
8m 27sIn this video, you will learn about tools which can be used to automate the process of migrating Python 2 scripts to Python 3. You will also discover how to identify lines in your source code which need to be altered. FREE ACCESS
-
5m 27sTo convert a Python 2 script to be Python 3 compatible, use the 2to3 conversion tool. FREE ACCESS
-
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 on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.