Interactive · Animated · Live
Learn Python visually,
from basics to expert.
35 topics across 6 levels. Every lesson has an animated step-through of the code, a live Python playground powered by Pyodide, and a quick quiz to lock it in.
Start at the beginning
0 of 35 complete
L1Foundations
0/6 doneVariables, numbers, strings, booleans, I/O.
📦
Variables & Types
Names bound to objects in memory.
🔢
Numbers & Operators
Arithmetic, integer vs float division, modulo.
🔤
Strings & f-strings
Immutable text sequences and rich formatting.
✅
Booleans & Truthiness
True, False, and what counts as 'truthy'.
💬
print, input & Comments
Talking to the user and to yourself.
🔄
Type Conversion
Casting between int, float, str, list, and friends.
L2Control & Collections
0/6 doneif/for/while, lists, tuples, dicts, sets.
L3Functions & Modules
0/6 doneFunctions, args, lambdas, scope, packages.
🧩
Defining Functions
def, return, default arguments, docstrings.
✨
*args & **kwargs
Variable-length positional and keyword arguments.
λ
Lambdas & Higher-Order Functions
Anonymous functions and map/filter/sorted.
🔒
Scope & Closures
LEGB rule and functions that capture state.
📦
Modules & Imports
Organizing code across files.
🧪
Virtual Environments & pip
Isolated dependency worlds per project.
L4OOP & Errors
0/6 doneClasses, inheritance, dunder, exceptions.
🏛️
Classes & Instances
Blueprints for objects with state and behavior.
🧬
Inheritance & MRO
Class hierarchies and method resolution order.
✨
Dunder Methods
__methods__ that hook into Python's syntax.
🎛️
Properties & Descriptors
Computed attributes and the descriptor protocol.
🚨
Exceptions
try/except/else/finally and custom errors.
🚪
Context Managers (with)
Guaranteed setup and teardown.
L5Intermediate/Advanced
0/6 doneIterators, generators, decorators, typing.
🌀
Iterators & Generators
Lazy sequences you can walk once.
🎀
Decorators
Functions that wrap functions.
📐
Comprehensions
List/dict/set/gen expressions — Pythonic transforms.
🏷️
Typing & Dataclasses
Static type hints and boilerplate-free classes.
🗂️
Pathlib & File I/O
Modern paths and safe file handling.
📤
JSON & Serialization
Turning objects into text and back.
L6Expert
0/5 doneAsync, GIL, metaclasses, memory, performance.
⚡
async / await & Event Loop
Cooperative concurrency for I/O-bound work.
🧵
Threads, Processes & the GIL
Concurrency vs parallelism in CPython.
🪞
Metaclasses
Classes that create classes.
🧠
Memory, References & gc
id, is vs ==, refcounting, and the cycle collector.
🚀
Performance & __slots__
Profiling, __slots__, and when to reach for C.