SPECIAL OFFER
Use code BACKTOLEARN during checkout to save 50% on books, eBooks, & videos. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Accessible from your Account page after purchase. Requires the free QuickTime Player software.
Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec.
Run-time exception handling may still seem "new" even though the concept has been around for a long time, but it is pretty much of a requirement of most modern-day programming languages. This lesson begins with a review of exceptions then discusses how to accomplish exception handling in Python. The latter part of the lesson covers other exception-related functionality featuring the else, finally, raise, and assert statements as well as how to create (and use) exception classes. The lesson concludes with what you CANNOT do with exceptions as well as a reminder that not all exceptions mean some error is involved... they can be just warnings or simple notification of loop termination.