Skip to main content Brad's PyNotes

Posts on OOP

  1. Classes: Object-Oriented Programming in Python

    TL;DR

    Python classes bundle data and functionality together, supporting inheritance, method overriding, and special methods for creating powerful, reusable object-oriented code.

    Interesting!

    Python’s “everything is an object” philosophy means even classes are objects - you can inspect class attributes, pass classes as arguments, and create classes dynamically at runtime.