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.

The question this track answers

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.