Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

1 byte added, 23:21, 21 November 2017
INVESTIGATION 2: Exceptions and Error Handling
= INVESTIGATION 2: Exceptions and Error Handling =
:Running into errors in programming will be a common occurrence. You should expect that it will happen for any code that you write. In python when a an error occurs, python raises an '''exception'''. These exceptions are raised when python is no long able to handle what the code is trying to do. This section will give the programmer the ability to catch these exceptions when they happen and to allow the program to continue running, or to stop program execution with a readable error message.
== PART 1 - Handling Errors ==