Python Track¶
You don't need to be a Python expert to build RAG systems — but a solid footing makes everything that follows easier. This track takes you from "never written Python" to "comfortable building AI applications," in three tiers you can enter at your own level.
No math anxiety allowed here
A lot of people freeze up the moment they see words like vector, algorithm, or matrix. Here's the secret: you almost never need the math to build great AI apps. Every page in this track explains ideas with plain words and everyday examples first — a spreadsheet, a recipe, sorting your socks — and only mentions the fancy term afterwards, in case you're curious. If you ever see a formula, it's optional. You can skip it and nothing breaks. Promise.
What you'll learn¶
- Set up a modern Python toolchain (
uv,ruff, virtual environments). - The core language: types, data structures, functions, classes, files, and errors.
- The data/ML stack that underpins embeddings and evaluation: NumPy, pandas, matplotlib, scikit-learn.
- "AI Python" — typing with Pydantic v2, async, packaging, and talking to model APIs.
The three tiers¶
flowchart LR
A[Tier 1<br/>Foundations] --> B[Tier 2<br/>Data & ML Python]
B --> C[Tier 3<br/>AI Python]
C --> D[Build RAG systems]
| Tier | For you if… | Covers |
|---|---|---|
| Foundations | You're new to Python or want a refresher. | Tooling, syntax & types, data structures, functions & modules, OOP, files & errors. |
| Data & ML Python | You can write Python and want the numeric stack. | NumPy, pandas, matplotlib, scikit-learn. |
| AI Python | You're ready to build robust AI apps. | Type hints + Pydantic v2, asyncio, packaging, working with model APIs. |
Already know Python?
Skip to AI Python for the patterns that matter most when calling LLMs and embedding models, then head into the RAG Foundations and SDKs & Libraries.
A note on modern tooling¶
The Python packaging world moved fast. This track teaches the 2025–2026 modern default: uv for environments and installs (a fast drop-in for pip/venv), and ruff for linting and formatting. We always show the classic python -m venv + pip commands too, so nothing here depends on a tool you don't have.
Versions move
Library versions cited across this site were current in mid-2026 and will change. Treat exact version numbers as a snapshot — pin them in your own projects and check the official docs. See Versions & deprecations for the fast-moving APIs to watch.
Next steps¶
- Start the language at Setup & tooling.
- Already fluent? Jump to Working with model APIs.
- Ready to build? Head to SDKs & Libraries or the Tutorials.