Python Quest

Track 15 · Lesson 10 of 11

Resilient automation

Make scripts survive the real world: retry transient failures with backoff, re-run safely with state files, and finish the batch when one item fails.

About 55 minAdvanced4 exercises

You will be able to

  • Tell transient failures (worth retrying) from permanent ones (not worth retrying)
  • Retry an operation with exponential backoff, without sleeping after the last attempt
  • Make a job idempotent by recording what has already been processed
  • Process a batch so one failure is reported instead of stopping everything

Included with a Formula Quest membership

It has 4 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.