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

YouTube

Using and Abusing Python’s Double-Underscore Methods and Attributes

EuroPython Conference via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the fascinating world of Python's double-underscore methods and attributes in this 31-minute conference talk from EuroPython 2016. Dive deep into the realm of "special", "dunder", and "magic" methods, going beyond common ones like __init__. Learn how to manipulate arithmetic and comparison operators, make objects behave like dictionaries and containers, optimize memory usage, and speed up membership tests. Discover both practical applications and playful hacks, including some unconventional function tricks. Ideal for those comfortable with object-oriented Python, this talk covers topics such as Stringy Ants, Dunder Eek, Dunder Iter, and Dunder Functions. Access additional resources and code examples through the provided GitHub repository.

Syllabus

Introduction
Stringy Ants
Dunder Eeek
Dunder Iter
Dunder Functions

Taught by

EuroPython Conference

Reviews

Start your review of Using and Abusing Python’s Double-Underscore Methods and Attributes

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.