Get code to run at all
Run a file you wrote, in an environment you made, and find out which Python ran it. A Mac often has several, and nothing on the screen says which one answered.
This page shows the session as it looks before you start. The trial keeps your progress in this browser: open a part and it picks up where you left it, and the board reads the same record.
This page cannot see your machine, so nothing here is measured. The setup check runs on your own computer, where the course is installed.
Normally this check comes first and gates the session. Session 1 is the exception: nothing has been studied yet.
Where this comes from
Authored here for your own machine. The readings above are the material. Checked 2026-11-09.
In ~/cs-core, make hello.py holding one line: print("hello"). print shows whatever is in its brackets. Run it.
Uses: Missing Semester, Lecture 1: The Shell — “Using the shell” and “Navigating in the shell” · the reference card on this page
Run which python3, then which -a python3. The first names the one your shell (the program in Terminal that reads your commands) runs; the second lists every one it can find, in the order it looks.
Uses: Missing Semester, Lecture 1: The Shell — “Using the shell” and “Navigating in the shell” · the reference card on this page
Make an environment in this folder and switch it on. The tutorial writes python; on a Mac, outside an environment, that name may be missing or may point to a different Python, so type python3. Then run which python3 again, and cat .venv/pyvenv.cfg, a small file inside the environment.
Uses: Python tutorial, “Virtual Environments and Packages” — sections 12.1 and 12.2 · the reference card on this page
No clock on this card. The session is done when you can do the thing, whether that took forty minutes or three sittings.
Every written session can be opened from Curriculum: an earlier one to go over again, a later one to read ahead.