13,420
edits
Changes
→LAB OBJECTIVES
:'''NOTE:''' Since many tasks that system administrators deal with files, this is a crucial skill to understand.
:During the first investigation, you will be explosed to some '''object oriented programming''' elements. Object oriented programming languages (such as Python) have great advantages or other programming languages. Some advantages include greater modularity for '''more effective troubleshooting''', the ability to '''re-use''' objects, and to provide '''greater flexibility''' to allow objects to handle unique situations from various data (for example a date in different formats).introduce the student to basic object oriented programming. To keep things simple, this investigation will focus more on the concept that objects are primarily used to store data and code
:It is very important to provide logic in your Python is an script in case it '''object oriented programming languageencounters an error'''. Object oriented programming languages have great advantages An example would be an invalid path-name or other programming languages. Some advantages include greater modularity for '''more effective troubleshooting''', the ability trying to '''re-use''' objects, and to provide '''greater flexibility''' to allow objects to handle unique situations from various data (for example close a date in different formats)file that is already closed. The second investigation in this lab will introduce the student teach you how to basic object oriented programming. To keep things simple, this investigation '''handle exception errors''' (commonly referred to as "exception handling") so that your Python script will focus more on the concept that objects are primarily used to store data and coderun gracefully problems occur during execution.