Python in Three Months
A mastery handbook with internals, exercises & a capstone
What's inside
- Python internals and edge cases, not just syntax
- Part dividers, exercises, and several mini-projects
- A capstone that ties the whole language together
- The depth to interview and ship with confidence
The parts
- Part I · The Object & Data Model The one idea everything rests on — everything is an object — and the data model, names, descriptors & metaclasses that give objects their behaviour.
- Part II · Functions & Functional Python Functions are values — and that one fact unlocks closures, decorators, generators & the lazy, composable style that makes Python a quietly functional language.
- Part III · OOP, Dataclasses & Typing Building bigger: cooperative inheritance, the dunder protocols that make objects feel native, abstract base classes & structural typing, dataclasses, enums, and type hints deep enough to trust.
- Part IV · Concurrency, the GIL & asyncio Doing many things at once: threads & the GIL, processes for real parallelism, and asyncio's single-threaded event loop — and knowing exactly which to reach for.
- Part V · CPython Internals & Performance Under the hood: bytecode & the eval loop, reference counting & the cyclic GC, the memory model — then measuring, profiling & making Python fast.
- Part VI · The Standard Library & Robust Code Batteries included: collections , pathlib , dates, I/O, JSON, regex, logging & CLIs — plus exceptions and the idioms that make code robust.
- Part VII · Packaging, Tooling & Testing Shipping real software: virtual environments, pyproject.toml , building & publishing, the modern toolchain (uv, ruff) — and testing with pytest, mocks & hypothesis.
- Part VIII · Applied Python & the Capstone Putting it together: where Python wins — web, data, automation — then a capstone you build end-to-end, a skills map, a master cheat sheet & the canon.
Python in Three Months is a mastery handbook. Beyond syntax, it digs into Python’s internals and edge cases, with exercises throughout and a capstone that ties everything together.
Python is the lingua franca of data & scripting, and this book respects your time: no filler, no padding, just the parts that matter — in a handwritten style that’s genuinely enjoyable to read.
Preview a few pages below, then grab the PDF. You’ll have it in your inbox in seconds.
Questions
Who is the Three Months edition for?
Developers who want mastery — internals, edge cases, exercises, and a capstone, not just working knowledge.
What format is the book?
A print-ready PDF — the same handwritten "Classic Ruled" style throughout. Read it on any device or print it.
Do I need an account to buy?
No. Buy with just your email; we send the download link instantly and let you create an account later to re-download anytime.
Can I get a refund?
Yes — see our refund policy. If the book isn't for you, reach out.