Introduction & Setup
Why Python for TS devs, the mental-model shifts, and the toolchain. Start →
Introduction & Setup
Why Python for TS devs, the mental-model shifts, and the toolchain. Start →
Python 101 — Fundamentals
Variables, functions, classes, errors — TypeScript ↔ Python. Learn →
Python You Won't Find in TypeScript
Decorators, comprehensions, generators, dunder methods, context managers. Explore →
Async & Concurrency
asyncio, tasks & gather, threads, multiprocessing — beyond the event loop. Dive in →
Building an API with FastAPI
Routing, Pydantic models, validation, DI — Express/Nest ↔ FastAPI. Build →
Advanced Python
Protocols vs structural typing, dataclasses, pattern matching, pytest. Go deeper →
Tooling, Testing & Deployment
ruff/black, mypy, pytest, venv/uv, Docker, CI. Ship it →
Comparison-first
Every concept starts from the TypeScript you know, then shows the Python way.
Run Python in your browser
Runnable examples execute client-side via Pyodide (CPython compiled to WebAssembly) — no setup, no backend.
Quizzes & progress
Check your understanding after each lesson; your progress is saved locally.
Bilingual
Available in English and ไทย — switch anytime from the top bar.