MENU

Fun & Interesting

Python Metaclasses: Everything is an Object

Real Python 7,999 2 years ago
Video Not Working? Fix It Now

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-metaclasses/ The rest of the course covers: - Real-world Metaclasses - Metaclass Usage within the Python Standard Library - Additional resources to continue your learning

Comment