Video není dostupné.
Omlouváme se.

Python Metaclasses: Everything is an Object

Sdílet
Vložit
  • čas přidán 18. 08. 2024
  • 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:
    realpython.com...
    The rest of the course covers:
    - Real-world Metaclasses
    - Metaclass Usage within the Python Standard Library
    - Additional resources to continue your learning

Komentáře • 11

  • @ahmedrateb5867
    @ahmedrateb5867 Před 8 dny

    Brilliant ❤

  • @VaibhavSharma-zj4gk
    @VaibhavSharma-zj4gk Před rokem +3

    Very easy explaination 😍

  • @drz1
    @drz1 Před rokem +1

    Very concise and exactly what I needed. THANK YOU!

  • @RupeshBhandari-977
    @RupeshBhandari-977 Před rokem +2

    Great ❤😊

  • @rishiraj2548
    @rishiraj2548 Před rokem +1

    Thank you

  • @sihonglai9059
    @sihonglai9059 Před 11 měsíci +1

    great

  • @tbazadaykin
    @tbazadaykin Před 6 měsíci

    (12:26) If we talk about hierarchy in terms of “ancestor”/“descendant”, then at the top there will be an `object`. Therefore, the class `Apple` will be a descendant of the class `Fruit`, which will be a descendant of the class `object`, and all 3 will be instances of class `type`. Moreover - `type` is a descendant of `object` and both are an instance of `type`. `object` has no ancestors. The ancestor for the class is indicated in the attribute `__base__`.

  • @serychristianrenaud
    @serychristianrenaud Před rokem

    Thank

  • @pancernymisiek
    @pancernymisiek Před rokem +4

    where is the 2nd video with real world examples?

  • @blacky7801
    @blacky7801 Před 8 měsíci

    but what is the type of classobj 🤔?