Python
Python Data Model & Internals
Socratic Tutor"Everything is an object." Understand Python's data model and you understand Python.
Objects & Memory Model
Everything is an Object
Identity, Equality & Interning
Reference Counting & Garbage Collection
Mutability & Copying
Mutable vs Immutable Types
Shallow vs Deep Copy
The Default Mutable Argument Trap
Dunder Methods & Protocols
__repr__, __str__ & String Protocols
__hash__, __eq__ & Hashability
__getitem__, __len__ & Container Protocols
Comparison & Arithmetic Protocols
Scoping & Namespaces
LEGB Rule & Name Resolution
Closures & Nonlocal
Import System Internals