1. Pyroom
  2. Tutorials
  3. Teacher Mode

Teacher Mode

Teacher Mode adds a task panel above the code. Write what students should do, give them starter code, lock the instructions and share everything as one link or QR code.

When to use it

Use Teacher Mode when you prepare exercises for a class, homework or a coding club, and want students to see the instructions right next to their code.

Turn it on

Open the menu, go to Settings β†’ Mode and choose Switch to Teacher Mode. A task panel appears above the editor. Give the task a name and describe the work. The description supports formatted text and Markdown, so you can add headings, lists and code samples.

Prepare the starter code

Write the code students should begin with in the editor: comments that explain each step, a function to complete, or a program with a deliberate bug to find. Students get exactly what you leave in the editor.

Lock and share

  • Lock the task so students can read but not change the instructions.
  • Add a PIN if you want to unlock it later on your own device only.
  • Turn on Auto-lock when sharing so every shared copy is locked automatically.
  • Share through Menu β†’ Share: a full link or QR code works offline; an online share gives a short code.

Learning path

The Beginner tutorial switches to Teacher Mode and writes a first task. The Intermediate tutorial locks it. The Advanced tutorial pins the task and opens the share dialog to send it to a class.

Good to know

A lock protects instructions, not secrets: shared Python code is visible to learners, so share starter code rather than answer keys. A PIN is stored only on the device where you created it.

Feature overview β†’

Beginner

Turn on Teacher Mode and write a task

Beginner

Beginner Video coming soon. The steps below show everything the video will cover.

Turn on Teacher Mode in Pyroom and write a Python task for your students next to the starter code. Free, in the browser, with no student accounts.

Open tutorial β†’

Intermediate

Lock a Python task for your students

Intermediate

Intermediate Video coming soon. The steps below show everything the video will cover.

Lock a task in Pyroom Teacher Mode so students can read the instructions but not change them. Free classroom tool, no student accounts.

Open tutorial β†’

Advanced

All tutorials β†’

Try it in the Playground

Nothing to install and no account needed.

Open Playground β†’