Let’s de-confuse Python objects!

Are you confused about object-oriented Python? You’re not alone. In teaching Python to companies around the world for more than 20 years, I’ve found that almost everyone is confused by Python objects:

  • Newcomers to object-oriented programming are just plain ol’ confused — by the terminology, the syntax, and why we even need to use objects.
  • People with experience using objects in other language wonder why Python’s objects are so weird. Why do we need to use “self” so much? And what’s with the static fields that behave strangely?
  • Even people with Python experience, who have been using objects for a while, find the object system to be a confusing mish-mash of seemingly consistent rules.

Sounds like you? Well, I have good news: Starting this Sunday, I’ll help you make sense of it all in live, online classes about object-oriented Python.

When you’re done, you’ll not only have a clearer mental model. You’ll also be able to write shorter, more expressive, more idiomatic, more maintainable code.

In other words, you’ll be able to do more in less time, and with less code. That’ll help you in your current job — and can improve your chances of getting a new, better job.

So, what am I teaching?

September 12th: Intro Python Objects

  • Classes
  • Instances
  • Attributes
  • Class attributes
  • Inheritance
  • Basic magic methods

September 19th: Advanced Python Objects

  • Advanced magic methods
  • Context managers
  • Multiple inheritance
  • Metaclasses
  • Properties
  • Descriptors

I’m running these classes like I do my corporate training: With lots of time for Q&A, and a ton of hands-on exercises. Without slides, as I live-code into Jupyter. We’ll even have a private forum, so you can ask questions when the class is done. And of course, you’ll have access to the video recording.

If you’re confused about Python objects, or want to take your understanding to the next level, then these classes are for you.

Questions? Comments? Eligible for a discount (for students, retirees/pensioners, or people living outside the world’s 30 richest countries)? Hit me up on Twitter (@reuvenmlerner) or e-mail (reuven@lerner.co.il), and I’ll answer ASAP.

Reuven

PS: These are two of the six live courses I’m running in September and October. Take a look at all six topics here: https://store.lerner.co.il/liveclasses

>