When Is an Exception Not an Exception? Using Warnings in Python
Offered By: PyCon US via YouTube
Course Description
Overview
Explore Python's warning system in this informative talk from PyCon US. Discover how to handle small problems in your code that don't warrant full exceptions but shouldn't be ignored. Learn to generate, filter, and redirect warnings, customize their behavior, and even transform them into exceptions. Gain practical knowledge on effectively communicating issues to users without relying solely on print statements or raising exceptions. By the end of the talk, you'll be equipped to leverage Python's warning system to enhance your code's error handling and user feedback capabilities. Access accompanying slides for additional reference and visual aids.
Syllabus
TALK / Reuven M. Lerner / When is an exception not an exception? Using warnings in Python
Taught by
PyCon US
Related Courses
Artificial Intelligence for RoboticsStanford University via Udacity Intro to Computer Science
University of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Web Development
Udacity Programming Languages
University of Virginia via Udacity