Learn Python, one mission at a time.

Patchwood is a forest-themed Python field course for iPhone and iPad.

Explore the course

Start at Basecamp with Pip.

Pip, your radio operator, guides you through 100 sequential missions across 16 stations. Open Patchwood and head straight to your next mission, or continue one you saved in progress.

Read, predict, patch, assemble.

Each mission pairs a short explanation and Python example with a message from Pip and three challenges. Check your answers, learn from the feedback, and retry until you are ready to continue.

  • Predict an outputChoose what a piece of Python will produce.
  • Select a code patchPick an answer from the available choices.
  • Assemble a lineArrange code pieces, with undo when you need it.

Follow the Trail map.

Move from output and variables through loops, functions, collections, errors, tests, and algorithm exercises. The map shows station progress and mission lists. Completed missions and the next unfinished mission are available to play.

Keep a Field log.

New missions earn XP and open the next mission. Complete a station to earn its patch, revisit completed missions, and see your XP, day streak, and patches in the Field log.