Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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