Python: Classes & Objects

Wishlist Share

About Course

An introduction to object-oriented programming in Python. Learn what classes and objects are, write __init__ methods and other methods, understand instance and class attributes, add readable string representations, use inheritance and super(), and save time with dataclasses and properties. All examples tested in Python 3.

Examples were tested with Python 3.13. Object-oriented design involves judgement; follow your team’s coding standards.

What Will You Learn?

  • Define classes with attributes and methods Understand self, __init__ and the difference between instance and class attributes Use inheritance, super() and special methods such as __str__ Write concise data classes and properties, and know when to use classes

Course Content

Course Lessons

  • Classes and objects
  • Attributes, methods and special methods
  • Inheritance
  • Dataclasses, properties and good design

Sources & Further Reading
The official guidance this course is based on.

Final Assessment

Student Ratings & Reviews

No Review Yet
No Review Yet

Want to receive push notifications for all major on-site activities?

✕