Jump to: navigation, search

OPS435 Python Lab 5

2 bytes removed, 5 June
:'''NOTE:''' Since many tasks that system administrators perform deal with files, this is a crucial skill to understand.
:It is very important to provide logic in your Python script in case it '''encounters an error'''. An example would be an invalid path-name or trying to close a file that is already closed. The second investigation in this lab will look into how the Python interpreter '''handle errors''' (commonly referred to as "exception handling") at run time, and learn how to write Python codes code that will run gracefully even when problems occur during program execution.

Navigation menu