Skip to content
Python · Working → Confident

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.