Real Python Tutorials

Python Descriptors: An Introduction

Python Descriptors: An Introduction

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 when you access an attribute. You'll also see a few practical examples where Python descriptors can come in handy.

Nov 27, 2019 intermediate python

โ€” FREE Email Series โ€”

๐Ÿ Python Tricks ๐Ÿ’Œ

Python Tricks Dictionary Merge

๐Ÿ”’ No spam. Unsubscribe any time.

Not Sure Where to Start?

At Real Python you can learn all things Python from the ground up. If you're wondering where to begin your Python journey, click the button below and we'll give you some guidance:

Start Your Python Journey ยป

๐Ÿ Python Tricks ๐Ÿ’Œ

Get a short & sweet Python Trick delivered to your inbox every couple of days. No spam ever. Unsubscribe any time. Curated by the Real Python team.

Python Tricks Dictionary Merge