Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

465 bytes added, 10:38, 5 September 2017
PART 1 - Handling Errors
== PART 1 - Handling Errors ==
:As previously mentionedAccording to Wikipedia, Exception Handling is ''"the process of responding to the occurrence, during computation, of exceptions – anomalous or exceptional conditions requiring special processing – often changing the normal flow of program execution."''<br>( https://en.wikipedia.org/wiki/Exception_handling)
:There are a <u>massive amount </u> of exceptions, (way too many to coverin this course). But if On the other hand, online references can be useful. If you are searching for a specific exception check out the [https://docs.python.org/3/library/exceptions.html#exception-hierarchy Python Exception Documentation.]  :In the section, we will provide examples of how to handle a few exceptions when creating Python scripts.
:'''Perform the Following Steps:'''
13,420
edits