© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
J. R. PaynePython for Teenagershttps://doi.org/10.1007/978-1-4842-9988-3_13

13. Error Handling

James R. Payne1  
(1)
Gainesville, GA, USA
 

We are rapidly approaching the end of this book and our time adventuring together. Soon, you will be donning your cape on your own, battling evil doers without my assistance (in your imagination only, of course!), and writing code all by yourself.

Cue sad music.

For now, though, we are still a superhero duo! And while we have learned how to defeat many programmatic villains and overcome many different obstacles, there is a topic we still need to discuss: how to overcome our own failures.

Failure, you say? What sort of hero ...

Get Python for Teenagers: Learn to Program like a Superhero! now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.