Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

The Magic of Attribute Access

EuroPython Conference via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how Python reads and writes attributes, including method resolution, descriptors, and special methods. It demonstrates the mechanisms with examples such as proxy objects, properties, and an ORM column sketch.

Syllabus

Intro
Attribute Access
Object Model Example
Get Attribute
Subclasses
Special treatment
Descriptors
Control Setting
Terminology
Descriptor
Saving Memory
Special Magic Incantation
Magic Formula
Lazy Property
On Class
Method Resolution Origin
Questions

Taught by

EuroPython Conference

Reviews

Start your review of The Magic of Attribute Access

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.