Module 10: Real-World Tools
Use the tools that real programs depend on. 8 Python coding games, each with short narrated videos and six levels.
This module is part of the full course. Unlock all 79 games for $9, or try Module 1 free.
- 64
Importing modules: random · Sports Day
Run a school sports day with random throws, a random captain and a shuffled running order. - 65
More modules, and your own · Workshop Shelves
Fetch the right tools from labelled shelves, then build a shelf of your own. - 66
Debugging like a detective · Detective Desk
Every broken program is a case. Read the clues, form a theory, test it, then fix it. - 67
Handling errors: try and except · Safety Net
Acrobats fall when a line fails, unless your code is there to catch them. - 68
Checking data and raising errors · Customs Check
Inspect luggage records, and turn back anything that isn't right. - 69
Reading and writing files · Save Point
Save a hero's progress to real files, so it's still there next time. - 70
CSV and JSON · Record Room
Move paper records into tidy data files, then answer questions from them. - 71
Project: High Score Table · High Score Table
Your seventh real program: scores that are still there next time, with the top five on show.