Python Language Features - Level 2

DifficultyIntermediate
AVG Duration3h
Students22
Content
3

Description

Python is one of the most commonly used programming languages in the world. Due to the flexibility of the language it is used for a wide range of use cases such as: web application development, data science, machine learning, video games, etc.

It’s commonly said – partly in jest – that Python is the second best programming language for every project. The implication being that the first choice would be a language tailored to the problem domain. Python is considered second best because while it may not be the perfect option it’s useful across problem domains.

Learning to program with Python opens a host of possibilities. From simple automation scripts to large scale applications understanding Python can be a superpower.

In this learning path you'll learn:

The inner workings of objects in Python.

Learning Objectives:

  • Explain the anatomy of a Class
  • Explain inheritance
  • Explain method resolution order (mro)
  • Use common magic methods
  • Use modules and packages
  • Use exceptions
  • Explain the concept of truthiness


Certificate

Your certificate for this learning path

Training Content

1
Hands-on Lab - Intermediate - 2h
Python: Inheritance
Object oriented programming consists of bundling data and code together into a single entity referred to as **objects**. Object inheritance is an important aspect of object-oriented programming. Learn how to create object hierarchies in this hands-on lab.
2
Hands-on Lab - Intermediate - 2h
Python: Exceptions
Understanding how to handle exceptions is an essential aspect of Python development. Learn how to create, handle, and raise exceptions in Python through hands-on learning.
3
Hands-on Lab - Intermediate - 2h
Python: Magic Methods
Learn how to use magic methods to control the way that objects interact with the Python language syntax and built-in functions. This lab covers commonly used magic methods through hands-on learning.
About the Author
Students96259
Labs28
Courses46
Learning paths54

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered Topics