Oct. 20, 2022, 9:22 a.m. | Reuven Lerner

Reuven Lerner www.youtube.com

Python uses exceptions to indicate that something unusual has happened — often an error. What are exceptions? How can we trap them? What exceptions are available? And why is it wrong to say that a program "crashed"?

I answer all of these questions in this video, showing you how to trap various kinds of exceptions. The Jupyter notebook that I used is at https://github.com/reuven/YouTube-notebooks.

If you like this, then there's lots more info at my free, weekly "Better developers" newsletter: …

error intro python

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote