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-not....
If you like this, then there's lots more info at my free, weekly "Better developers" newsletter: https://BetterDevelopersWeekly.com/
Watch video Intro to Python exceptions online, duration hours minute second in high quality that is uploaded to the channel Python and Pandas with Reuven Lerner 20 October 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 906 times and liked it 61 visitors.