Can anyone explain how to work out when a exeption will appear? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 4

Can anyone explain how to work out when a exeption will appear?

please help!

4th Jun 2018, 3:40 PM
Snowflake C
Snowflake C - avatar
3 ответов
+ 7
Here is some detail on the different exceptions. https://docs.python.org/3/library/exceptions.html
4th Jun 2018, 4:08 PM
David Ashton
David Ashton - avatar
0
Any I/O operation when you are dealing with external data could be prone for exceptions. Consider wrong user input, failing DB read operation, connectivity issues etc.
17th Jun 2018, 2:30 PM
Daniel
Daniel - avatar