November 2022
Beginner to intermediate
752 pages
19h 19m
English
In many languages, exceptions are regarded as the archnemeses of programmers and the hallmarks of some degree of failure. Something, somewhere was used improperly! Python developers, on the other hand, recognize exceptions as friends that help write better code.
Python offers many familiar error-handling tools, but the way we use them may look different from what you’re used to. These tools can help you do more than clean up messes. You might even say, error handling in Python is “exceptional.”
I’ll start by demonstrating what exceptions look like in Python and how to read their accompanying messages. I’ll cover catching ...
Read now
Unlock full access