Python Quest

Track 9 · Lesson 11 of 11

Mini project: a robust order importer

Build an order importer that works through messy CSV records, collects a clear error for every bad row without crashing, and prints a summary report.

About 60 minIntermediate5 exercises

You will be able to

  • Design a custom exception for 'this record is invalid' and raise it with row-specific messages
  • Process a batch of records so one bad row never stops the others
  • Collect errors with their line numbers while letting genuine bugs surface
  • Produce a summary report of what was imported and what was rejected, and why

Included with a Formula Quest membership

It has 5 graded exercises with feedback, hints and solutions. Python Quest is included in Formula Quest memberships that cover Python; membership and billing are managed on Formula Quest.

View Formula Quest memberships

Tracks 1 and 2, the first lesson of every track, the playground and the dataset library are free.