← 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

Sign in to save checklist progress.

Linux sandbox (WebVM) · ephemeralOpen in new tab ↗

Click Start sandbox for an in-browser Linux environment.

No Docker on the server — the sandbox runs in your browser (or an embedded lab host).