Skip to content
Free · open source · runs offline after first load

Learn Python for AI engineering

Start at print("Hello")and finish shipping retrieval pipelines and agent loops. Eight modules, every one of them hands-on, every example editable and runnable right here.

0 / 67 lessons8 modules · beginner → expert
Try it nowPython not started

Nothing to install

A real CPython interpreter is compiled to WebAssembly and runs inside your tab. No Anaconda, no PATH problems, no 'works on my machine'.

Built for AI engineering

Every concept is taught with the destination in mind — arrays before tensors, dicts before JSON payloads, generators before streaming responses.

You write the code

Exercises are checked by real assertions running against your actual program, not by matching your text against an answer key.

The path

Each module assumes only what came before it. Take them in order, or jump to the one you need.

Full lesson list →

Open a blank editor and just try something.

The playground gives you a full Python environment with NumPy, pandas, matplotlib and scikit-learn one import away — all running locally in this tab.