Basics & Syntax
Variables & types, control flow, functions, strings & f-strings. Start →
Basics & Syntax
Variables & types, control flow, functions, strings & f-strings. Start →
Data Structures
Lists & tuples, dicts & sets, comprehensions, slicing. Explore →
OOP & the Data Model
Classes, dunder methods, properties, dataclasses. Model →
Functions In Depth
Args & kwargs, closures, decorators, generators. Go deep →
Typing & Errors
Type hints, exceptions, context managers, custom errors. Learn →
Async & Concurrency
asyncio, async/await, the GIL & threads, multiprocessing. Concurrency →
Stdlib, Testing & Tooling
The standard library tour, pytest, venv & pip, packaging. Ship it →
Runtime Internals
The object model, memory & the GC, bytecode & the interpreter, the GIL & free-threading. Go under the hood →
Reading & Reviewing Python
Spot AI-generated bugs, a review checklist, and the tools that catch what a read-through misses. Review it →
This course targets Python 3.14, the current release. Features are labelled with the version that introduced them, so you can tell what an older interpreter will accept. The playground runs CPython 3.14.2 in your browser, so 3.14-only syntax such as t-strings really executes.
Runs in your browser
Python 3.14 examples execute live via Pyodide (WebAssembly) — editable and re-runnable, no setup.
Language-core focus
The language and the standard library in depth — a foundation before any web framework.
Quizzes & progress
Check your understanding after each lesson; your progress is saved locally.
Bilingual
Available in English and ไทย — switch anytime from the top bar.