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
Intro to Python for Brand New ProgrammersPyCon US via YouTube Comprehending Comprehensions
PyCon US via YouTube Data Analysis with SQLite and Python
PyCon US via YouTube Build a Production Ready GraphQL API Using Python
PyCon US via YouTube Web Development With A Python-backed Frontend - Featuring HTMX and Tailwind
PyCon US via YouTube