2025-07-18 –, Forum Hall
We use assignment all the time in Python. But what really happens when we use an = in our code? The answer is: It depends. In this talk, I'll explore what happens when we assign a value to a variable, when we mutate an existing value, and when we assign to an attribute. Along the way, we'll explore variable scopes, byte codes, and descriptors. By the end of this talk, you'll appreciate all the hard work that the little = sign is doing, and the remarkable stuff that happens behind the scenes when you use it.
Intermediate
Reuven is a full-time Python trainer, teaching at companies around the world and also via his LernerPython online platform. Reuven publishes both Better Developers (about Python) and Bamboo Weekly (Pandas puzzles based on current events). He wrote both Python Workout and Pandas Workout, published by Manning.