LernerPython

Advanced Python objects (live webinar)

You’ve been using Python’s objects for a while already — you know how to create classes and methods, and how to use inheritance. But do you really know how Python’s objects work? And do you know how to squeeze the most out of them?

What you should know

Course Content

Course length

3.5 hours

Number of lessons

1

Training materials

1 Jupyter notebook

Coding exercises

5

LEARN MORE

You’ve been using Python’s objects for a while already — you know how to create classes and methods, and how to use inheritance. But do you really know how Python’s objects work? And do you know how to squeeze the most out of them?

In this live, four-hour online class, I’ll dive deep into Python’s object system with you, to help you understand how things work, and how you can take advantage of them in your projects. We’ll talk about such topics as magic methods, static and class methods, context managers, properties, and descriptors. When this class is over, you’ll understand the difference between functions and methods, and how “self” is always populated with the current instance. You’ll understand the difference between new and init, and when it’s actually appropriate to write the new method. And as we explore context managers, you’ll understand why it’s a good idea to use “with” when working with files in Python.

  • Magic methods
  • Static and class methods
  • Context managers
  • Properties
  • Descriptors

This course, like all others on LernerPython.com, is taught by Reuven Lerner.