Changes

Jump to: navigation, search

OPS435 Python Lab 5

28 bytes removed, 00:00, 11 September 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 error occurs, python raises a python object called an '''exception, which represents the error that occured'''. 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, however in many cases it might be a good idea or to stop the program when an exception happens anywayexecution with a readable error message.
== PART 1 - Handling Errors ==

Navigation menu