© James R. Payne 2019
James R. PaynePython for Teenagershttps://doi.org/10.1007/978-1-4842-4550-7_13

13. Error Handling

James R. Payne1 
(1)
Deerfield Beach, FL, 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.

Cure 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 or coder fails?

Sadly, we all do. Or, to look at it a better way: ...

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.