Advanced Python Topics: Migrating from Python 2 to Python 3
Python 3.0+
| 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
-
1.Course Overview2m 13sUP NEXT
-
2.Installing a Python 2 Kernel for Jupyter Notebook8m 57s
-
3.Differences Between Python 2 and Python 3 - Part 18m 40s
-
4.Differences Between Python 2 and Python 3 - Part 24m 38s
-
5.Using 2to3 to Identify Python 3 Compatibility8m 27s
-
6.Transforming Python 2 Scripts Using 2to35m 27s
-
7.Course Summary1m 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.