Intro to Python exceptions

preview_player
Показать описание
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"?

Рекомендации по теме
Комментарии
Автор

Great. Also some tips on 'raise' and raising custom exceptions that you can define in your own exception class will be awesome as well.

arkster
Автор

Really great video. The one additional thing you might want to mention (or perhaps for the next step?) is comparing try/except with if/else. When you might use one vs. the other since in certain places you COULD consider either. Thanks for all the great content!

moose
visit shbcf.ru