Kiru Lab / Track
Foundations: Python as an Instrument
Before you can cut, you need a scalpel you trust.
Everything downstream in this lab — a gradient, an attention head, a robot arm solving for a joint angle — is a small amount of arithmetic repeated an enormous number of times. This track builds the instrument, and it starts from nothing: installing Python, running your first program, and reading an error message without panic. It then works through the language itself with an emphasis on the mental model of names, objects, and arrays rather than on syntax trivia. Take this track slowly. Everything after it assumes the habits you build here.
What is actually happening when a line of Python runs?
By the end you can
- Install Python and run a program you wrote yourself
- Read an error message and find the line that caused it
- Read and write Python without guessing what a line does
- Explain the difference between a name, an object, and a copy
- Choose the right data structure for a job and justify the choice
- Express loops as array operations and know why that matters
- Make an experiment reproducible on someone else's machine
Scope
13 lessons, roughly 30 hours.
Module 1
Getting Set Up
Install Python, run a program, and learn to read the error messages you are about to generate a lot of.
Module 2
Python From First Principles
Names, objects, types, decisions, repetition, and functions — the pieces every program in this curriculum is assembled from. Work through these in order and type every example.
Module 3
Python for Experiments
Arrays, plots, and the reproducibility hygiene that makes a result mean something.