Hour 17. Exception Handling

What You’ll Learn in This Hour:

Image What exceptions are

Image How to handle exceptions

Image How to handle multiple exceptions

This hour covers exceptions and how to properly handle them in your Python scripts. To understand exceptions, the different types that can occur and the tools Python provides to manage them are examined. Proper exception handling is a mark of an excellent Python script builder.

Understanding Exceptions

An ...

Get Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours, Second Edition 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.