Python Metaclasses: Everything is an Object

Опубликовано: 17 June 2026
на канале: Real Python
9,728
294

n Python, everything is an object, even the classes that create objects. You used a class to instantiate an object instance, but classes themselves are also instantiated behind the scenes. This mechanism is available to you as a programmer through the concept of metaclasses.

This is an advanced topic and this video is geared toward an intermediate Python or beyond.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...

The rest of the course covers:
Real-world Metaclasses
Metaclass Usage within the Python Standard Library
Additional resources to continue your learning