Lessons
Reading tracebacks
Decode Python's error reports to find bugs fast.
8 min
Common exception types
Meet the errors you'll see most and what usually causes them.
9 min
Catching exceptions
Handle errors gracefully with try/except instead of crashing.
10 min
else and finally
Run code only on success, and clean up no matter what.
8 min
Raising & custom exceptions
Signal problems with raise, validate input and define your own errors.
12 min
Debugging strategies
Hunt down wrong answers with print debugging, repr and assert.
9 min
Next module
Classes & Objects