About 97,200 results
Open links in new tab
  1. Descriptor Guide — Python 3.14.0 documentation

    4 days ago · When a class uses descriptors, it can inform each descriptor about which variable name was used. In this example, the Person class has two descriptor instances, name and age.

  2. Python Descriptors: An Introduction – Real Python

    In this step-by-step tutorial, you'll learn what Python descriptors are and how they're used in Python's internals. You'll learn about the descriptor protocol and how the lookup chain works …

  3. Descriptor in Python - GeeksforGeeks

    Jul 11, 2025 · In Python, a descriptor is any object that implements at least one of the following methods: __get__ (self, instance, owner), __set__ (self, instance, value), or __delete__ (self, …

  4. Python Descriptors

    In this tutorial, you'll learn about Python descriptors, how they work, and how to apply them effectively.

  5. Python Descriptors Tutorial: Descriptor Protocol Explained

    Apr 8, 2025 · Python Descriptors are objects that implement a specific protocol to customize how attribute access works. It lets objects control what happens when attributes are accessed or …

  6. Python Descriptors: What Is It, How to Use & Example | Django …

    Sep 11, 2025 · Python descriptors help you manage object attributes with custom behavior by providing a robust, low-level descriptor protocol in Python for attribute access. Descriptors can …

    • Reviews: 60
    • How to understand Python descriptor protocol - LabEx

      This comprehensive tutorial delves into the Python descriptor protocol, a powerful mechanism that enables dynamic attribute management and customization in object-oriented programming.

    • Descriptors in python: A Complete Guide - Matics Academy

      Learn about descriptors in Python and how they can be used to add functionality and control to your classes.

    • descriptor | Python Glossary – Real Python

      In Python, a descriptor is an object attribute with binding behavior, meaning that its behavior is triggered when you access, set, or delete an attribute. Descriptors are a powerful feature that …

    • Python Descriptors: Unveiling the Magic Behind Attribute Access

      Mar 25, 2025 · In Python, a descriptor is an object that has "binding behavior", which means it can control how an attribute is accessed, set, or deleted. A descriptor is simply an object with …