Effective Python Exceptions

Contributors: Gift, Noah, author.
2021, eLearning , 1 online resource (1 video file, approximately 44 min.)
Provided through O'Reilly Learning
4080245
Access Online
Summary/Review: 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 powerf more...
Summary/Review: 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/
Show/hide reviews and other info

Provided by Syndetics | Terms of Use

  • Subjects