Open lesson

Mission: reach the right version before the meeting

Command palette

This mission workspace keeps code and notes in this browser tab. Export them before closing it. Running code is practice, not an automatic grade for the mission.

Brief

Navigate a terminal, choose the right path and run a practice Python script without confusing a file’s location with the place from which it runs.

Mara puts down a folder map: case/ contains originals/, copy/ and tools/. The practice file is tools/check.py. In the story, Imani arrives in ten minutes; Voss hopes you will run a different check.py found in originals/ and call its result official. The terminal begins in case/.

Your mission

  1. Explain how to confirm the current folder and list subfolders without opening the originals.
  2. Write the commands that reach tools/check.py and run it.
  3. Explain what python and check.py mean in that command.
  4. If the terminal says “file not found,” give two useful checks and say what the output cannot prove about guilt.

How to check your work

  • pwd or Get-Location, then ls or Get-ChildItem, confirm the starting point.
  • cd tools, ls, then python check.py run the intended script.
  • Python is the runner; check.py is the file passed as its argument.
  • Check place and name, and infer no person’s guilt from one output.

Code

Use Tab to leave the editor. Ctrl+Enter runs the source. The lines beginning with # are task reminders. Python ignores them. Write your code beneath them.

Python console

Loading laboratory…

Explore Python or SQL here; this is not an operating-system shell.

This is a disposable browser experiment. The code run here is not recorded as a completed mission.

Each command starts a fresh disposable worker: it runs a captured copy of your current source, then your command with the lesson fixtures. Changes are discarded afterward. Commands never save source or award XP. Ctrl+Enter executes the command.

Virtual workspace files

Source and declarative assets are readable here without JavaScript. Python input files are created at runtime; SQL setup initializes the disposable database.

source.py

Current editor source. Inspection shows your current edits.

# Explain how to confirm the current folder and list subfolders without opening the originals.
# Write the commands that reach `tools/check.py` and run it.
# Explain what `python` and `check.py` mean in that command.
# If the terminal says “file not found,” give two useful checks and say what the output cannot prove about guilt.