October 2022
Beginner
200 pages
3h 7m
English
An exception is an error that occurs during execution of a program, sometimes called a runtime error. This could be a “file not found” error if you are trying to load a file that doesn’t exist, or a “type error” if you type text into a field when the program is expecting a number.
Exceptions are useful for handling errors encountered with file handling, network access, and data input.
These errors can be handled gracefully using Python’s exception handling procedures.
Read now
Unlock full access