Take the core route.
Read the essentials, inspect an example and try a checkpoint. Every lesson has a clear place to stop.
Small programs. Clear mental models. The confidence to explain why your code works.
Learn a little. Connect a lot.
Read the essentials, inspect an example and try a checkpoint. Every lesson has a clear place to stop.
Internals, complexity, ownership, edge cases and engineering trade-offs are open by default. Topic level and reading depth are separate choices.
72 / 72 topics have authored theory, a relevant visual and guided/transfer practice wired in. 0 topics still need conversion.
366 / 366 concept explanations; 217 guided/transfer tasks; 1305 public checks.
This tracks authoring coverage, not your reading progress or a quality score. Run controls alone do not mark a topic complete. Each batch also needs editorial review, real execution, tests and browser verification.
| Topic | Authoring | Theory | Visual | Practice | Checks |
|---|---|---|---|---|---|
| Think in small programs | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Set up a reproducible Python workspace | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Names, values and identity | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Numbers, truth and safe calculations | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Strings are sequences, not magic | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Decisions that read like decisions | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Loops without off-by-one surprises | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Lists, from useful to understood | authored | 10/10 | Included | 3 guided / 1 transfer | 27 |
| Tuples and useful unpacking | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Dictionaries: model lookup, not position | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Sets: membership and uniqueness | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Deque, Counter and defaultdict | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Priority queues and sorted search | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Functions that keep promises | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Transform data without hiding intent | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Design clear function signatures | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Closures, scope and late binding | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Recursion, base cases and explicit stacks | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Files, JSON and resource boundaries | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Paths, CSV and streaming file pipelines | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Regular expressions and structured matching | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Dates, durations and timezone-aware time | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| itertools and functools in practical pipelines | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Logging and configuration boundaries | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Objects that protect a model | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Composition, inheritance and super | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Properties and method kinds | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Generate values only when needed | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Decorators that preserve contracts | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Context managers and deterministic cleanup | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Python's data model and special methods | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Descriptors and attribute lookup | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Hashing, copying and object lifetime | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Imports, module lifecycle and dependency cycles | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Class hooks and metaclasses without mystery | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Annotations, unions and boundary validation | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Generics, protocols and typed callables | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Threads, races and lock ownership | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Processes and CPU-bound work | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Asyncio, tasks and cancellation | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Queues, backpressure and bounded workloads | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Errors are part of the contract | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Tests that catch real mistakes | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Fixtures, mocks and stronger tests | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Debug failures and make retries safe | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Sorting and the cost of a choice | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Profile time and memory with evidence | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| CPython execution, references and GC | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Modules and reproducible environments | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Package and ship a tested command-line tool | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| HTTP clients, timeouts and pagination | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| SQL transactions and secure input boundaries | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: changing one row changes every row | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: a function remembers an earlier request | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: a queue becomes slower as it grows | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: process a 10 GB report with limited memory | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: the second report is unexpectedly empty | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: an async endpoint stalls every request | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: one bad item hides the rest of a batch | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: memory grows after every request | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Scenario: a retry duplicates an operation | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Interview bank: Python foundations | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Interview bank: output prediction and debugging | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Interview bank: design and language depth | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Interview bank: concurrency and production reasoning | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Build a study-session analyser | authored | 6/6 | Included | 2 guided / 1 transfer | 18 |
| Project: a streaming CSV report | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Project: a tested command-line application | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Project: a paginated API client | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Project: a bounded concurrent pipeline | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Project: a small database-backed service | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
| Project: production-style debugging and refactoring | authored | 5/5 | Included | 2 guided / 1 transfer | 18 |
2 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Turn an everyday question into input, transformation and output.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Install deliberately, debug a small script and distinguish Python from its surrounding tools.
5 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Stop thinking of variables as boxes: names refer to objects.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Choose the right arithmetic and understand the limits of precision.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Clean, slice, search and format text without losing information.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use branching to make business rules explicit and testable.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Repeat useful work, accumulate results and know when to stop.
6 topics
Flagship lab / live local Python, visual models and guided checks
Your everyday ordered collection: operations, references, real costs and the traps behind one-liners.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Represent fixed records and unpack meaningful pieces.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use keys to turn repeated searching into direct lookup.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Describe unique values and relationships between collections.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Choose specialised containers for queues, counts and grouped records.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use heapq and bisect without pretending every ordered operation is constant time.
5 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Give a unit of work a name, inputs and a return contract.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Build readable pipelines with comprehensions and generator expressions.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use positional-only, keyword-only, variadic and unpacked arguments intentionally.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Understand what a nested function remembers and why loop callbacks surprise people.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Model smaller subproblems and understand Python's recursion limits.
6 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Move between structured values and portable text safely.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Parse real records without accidental truncation or unbounded reads.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use bounded patterns for text structure, not as a universal parser.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Separate elapsed time, calendar dates and local-clock interpretation.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Compose iterators while keeping consumption and caching visible.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Make diagnostics useful without leaking secrets or hiding invalid settings.
3 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use classes for related state and behaviour, without overengineering.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Reuse behaviour without building an accidental hierarchy.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Expose behaviour through a deliberate object API.
8 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Understand iteration, exhaustion and the memory cost of materialising.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Wrap behaviour without losing metadata, signatures or ownership.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Express resource lifetime with with rather than hope.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Make objects work naturally with built-in protocols.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Understand the mechanism behind properties and managed attributes.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Keep equality contracts consistent and choose ownership deliberately.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Treat imports as executable architecture, not just file lookup.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Know the mechanism and recognise when a simpler design wins.
2 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Use types to explain contracts without confusing them with runtime checks.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Express reusable relationships without erasing useful information.
4 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Make shared-state transitions safe without assuming the GIL solves them.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Choose parallelism while accounting for serialization and startup.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Write cooperative I/O flows with bounded lifetimes.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Keep producers from overwhelming memory and downstream services.
4 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Validate boundaries and handle only failures you understand.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Turn expectations into repeatable checks, including unhappy paths.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Build independent tests and verify more than a happy-path example.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Diagnose before changing code, and separate retryable failures from invalid work.
3 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Choose sort keys and reason about work as input grows.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Find the expensive work before choosing an optimisation.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Understand internals without depending on unstable implementation details.
4 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Organise a program and isolate its dependencies.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Turn a script into a project another developer can install and run.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Treat remote responses as fallible, bounded external input.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Store data with parameterised queries and explicit transaction behaviour.
9 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A three-row board is created with [[0] * 2] * 3. Updating board[0][0] appears to change all three rows. There is no thread, database or cache involved; the issue is visible in a tiny single-process example.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A helper defined as add(value, items=[]) returns entries from an earlier call even though the second caller supplied only one value. The state survives across calls in one process and disappears after a restart.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A job consumer stores work in a list and repeatedly calls pop(0). Small tests look fast, but draining a much larger batch takes disproportionately longer even though processing each job is trivial.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A reporting script reads an entire file, splits it into a list and then builds several transformed lists. It is killed for memory usage on a 10 GB input even though the final report contains only a few counters.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A generator feeds a total calculation and then a detail report. The total is correct, but the detail report is empty. Restarting the process does not help; each run repeats the same first-success/second-empty pattern.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
An async endpoint calls a blocking library operation. While it runs, unrelated requests stop progressing even though they are implemented with async def. Adding more coroutine tasks does not reduce the stall.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A batch job catches Exception around the whole loop and returns an empty success report after one malformed item. Valid earlier results disappear, later items are not attempted, and operations staff cannot identify which record failed.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A service's memory usage grows after every distinct request even though handlers finish. Calling garbage collection does not restore the expected baseline. Inspection shows a process-global cache with no maximum size.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
A client times out after creating a remote order, then retries with a new identifier. The server had committed the first order, so the customer sees two orders. The timeout alone could not tell the client whether the first write happened.
4 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
15 questions with worked examples and answered follow-ups
A structured rehearsal with model explanations, evaluation signals and follow-up constraints. These are original representative questions, not a claimed company interview bank.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
15 questions with worked examples and answered follow-ups
A structured rehearsal with model explanations, evaluation signals and follow-up constraints. These are original representative questions, not a claimed company interview bank.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
15 questions with worked examples and answered follow-ups
A structured rehearsal with model explanations, evaluation signals and follow-up constraints. These are original representative questions, not a claimed company interview bank.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
15 questions with worked examples and answered follow-ups
A structured rehearsal with model explanations, evaluation signals and follow-up constraints. These are original representative questions, not a claimed company interview bank.
7 topics
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Combine validation, collections, functions and tests into one useful project.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Build a CSV reporting tool that totals nonnegative study minutes by topic, understands quoted fields and reports malformed records explicitly. Start with a pure stream-based calculation before adding real input/output files.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Create a command that accepts study-minute values, validates the requested operation and prints a deterministic summary. The goal is a testable application boundary rather than a parser hidden inside business logic.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Implement a pagination core that follows opaque page tokens, rejects repeated tokens and enforces a page budget. Use a deterministic adapter fixture first, then connect a separately tested HTTP adapter with bounded destinations and responses.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Build a small asynchronous producer/consumer pipeline with bounded pending work, explicit completion acknowledgments and structured task ownership. Make failure and shutdown part of the design rather than only processing the happy path.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Build a service layer that validates study sessions and writes them transactionally to an isolated database. Start with an in-memory SQLite repository; an HTTP layer is a separate adapter, not an excuse to mix request parsing into SQL.
Theory-first lab / 3 guided and transfer tasks, 18 public checks
Refactor an order-sensitive grouping routine without changing its external contract. Reproduce the original issue with nested or duplicate data, define ownership, then add regression tests before replacing repeated scans with explicit lookup state.