Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

35 bytes removed, 10:29, 4 September 2017
LAB OBJECTIVES
:So far, you have created Python scripts to prompt a user to input data from the keyboard. When creating Python scripts, you may also need to be able to process large volumes of information, or store processed data for further processing. The first investigation in this lab will focus on file management, opening files, saving data to files, and reading files.
:Python is an object oriented programming language. Object oriented programming languages have great advantages or other programming languages. Some advantages include greater modularity for '''more effective troubleshootingNOTE:'''Since many tasks that system administrators deal with files, ability to '''re-use''' objects for other related purposes, and greater flexibility to allow objects this is a crucial skill to handle unique situationsunderstand.
This lab will introduce object oriented programming, using classes to create objects, and reading/writing to files. The second investigation in this lab will introduce the student to basic object oriented programming. To keep it simple, this investigation will focus on the fact that objects are primarily used to store data and code.
: Since many tasks that system administrators deal with filesPython is an '''object oriented programming language'''. Object oriented programming languages 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). The second investigation in this lab will introduce the student to basic object oriented programming. To keep things simple, this is a crucial skill investigation will focus more on the concept that objects are primarily used to understandstore data and code
== PYTHON REFERENCE ==
13,420
edits