this post was submitted on 23 Oct 2025
20 points (85.7% liked)

Python

7589 readers
2 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
 

An exercise to help build the right mental model for Python data. The “Solution” link uses memory_graph to visualize execution and reveals what’s actually happening:

top 6 comments
sorted by: hot top controversial new old
[–] joyjoy@lemmy.zip 3 points 1 month ago (1 children)

It's always fun to guess whether python will call __add__ or __iadd__.

[–] Valmond@lemmy.world 1 points 1 month ago (1 children)

I so wonder what a will result in.

[–] bterwijn@programming.dev 1 points 1 month ago

Yes a you get for free to set the tone, the others are more interesting.