You've navigated the terminal β now let's run Python there. Watch the demo, then follow along on your laptop. Pick your OS once: π macOS or β Windows β every command below adjusts to match.
Colab disconnects and forgets. On your machine a program runs as long as it needs β and it's still there tomorrow.
Your code becomes a .py file you can save, re-run, and share β not cells that vanish.
A single command installs Python and runs your code. No hunting on python.org, no PATH headaches.
Paste this once. It installs uv β the tool that manages Python for you. Copied straight from docs.astral.sh/uv.
β οΈ Close and reopen your terminal afterwards β that's how it finds the new uv command.
Now let uv fetch Python itself β and check it worked.
β If you see Python 3.14.x, Python is on your machine β you never touched python.org.
uv run python opens Python's live prompt (>>>). Type, and it answers instantly.
The moment you typed exit(), every variable vanished. Nothing was saved.
The live prompt is great for a quick check. But real work lives in a .py file you can save and re-run β which is exactly what's next.
Download the bumblebee gene translator into your folder:
It's the complete translator Claudia built in Lectures 1β4 β the genetic code, the clean-up, the safety checks β now a file you own.
Run it β then press Enter for the example gene:
No Colab, no timeout, no account. A program on your own laptop, translating a bumblebee gene.
Run it again and paste a different DNA sequence β one of your own from Lab 2, or a gene you find online. Same file, new data.
Before next lab: you ran a program someone gave you β next you'll write your own in VS Code. Install it now so you turn up ready: code.visualstudio.com.