Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Effective Python Exceptions

Posted By: sammoh
Effective Python Exceptions

Effective Python Exceptions
MP4 | Video: AVC 1920 x 1080 | Audio: AAC 44 Khz 2ch | Duration: 00:43:35 | 324.92 MB

Python exceptions are exceptional at helping your program take decisions. It is natural to feel the urge to catch them all and ignore them. But powerful programs can be created by learning how to leverage them in order to make robust scripts and take your coding skills to the next level. In this video, I cover several techniques that will help you improve your exception handling.

Topics include:
* Create a script that uses exception poorly, and then improve it
* Slowly clean up broad catching exceptions to improve the script
* Learn how to produce better errors from exceptions
* Leverage other tools like logging to produce meaningful errors and tracebacks while keeping messages clean
Follow along the repository to continue using more examples:https://github.com/alfredodeza/exceptions/