Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

When Is an Exception Not an Exception? Using Warnings in Python

PyCon US via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how to use Python warnings to report problems that should be visible but do not warrant an exception. It covers generating, filtering, and redirecting warnings, as well as converting selected warnings into exceptions and handling them with callbacks.

Syllabus

TALK / Reuven M. Lerner / When is an exception not an exception? Using warnings in Python

Taught by

PyCon US

Reviews

Start your review of When Is an Exception Not an Exception? Using Warnings in Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.