Chapter 8: Exceptional Python
This chapter provides a detailed overview of Python's system for handling unexpected events through the use of exceptions. Exceptions are a key component of any robust software application as they enable the program to gracefully recover from errors and continue functioning properly.
In order to fully grasp the concept of exceptions, we will explore the various ways in which Python allows us to interact with them, including how to handle exceptions and even create our own custom exceptions. We will delve into the importance of proper exception handling in software development, examining real-world examples and best practices for implementing effective exception handling strategies.
By the end of this chapter, you ...
Get Python and SQL Bible 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.