← All labs

// hands-on lab

Python warm-up

~12 min

Run Python three ways in the practice shell.

Use the in-page practice shell (or the full VM) for these drills.

  1. Check the interpreter: python3 --version
  2. Explore the sample app: cat ~/projects/app/app.py
  3. Run a script: python3 ~/projects/app/app.py (the shell shows its print output)
  4. Create your own: echo 'print("deploy ok")' > ~/hello.py then python3 ~/hello.py
  5. Inspect what you made: ls -la ~ and cat ~/hello.py

Everything here works in the simulated shell; the full VM gives you the real REPL when you want it.

// checklist 0/4

Sign in to save checklist progress.

Linux practice shell · instant, in-page · ephemeralOpen in new tab ↗
practice-shell — bash
Python warm-up 🐍 — the interpreter, a sample app, then your own script.
 

Instant practice shell (simulated) — everything for this lab works here. Need the real thing? Open the full Linux VM ↗