Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 5

198 bytes added, 01:45, 7 October 2019
no edit summary
= Under review - DO NOT USE =
= LAB OBJECTIVES =
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Output of: <code>./CheckLab5.py -f -v</code>
::<span style="color:green;font-size:1.5em;">&#x2713;</span> Output of: <code>cat lab5a.py lab5b.py lab5c.py</code>
 
:'''Files to be submitted individually to Blackboard:'''
:: Name the output of <code>./CheckLab5.py -f -v </code> as lab5_[seneca_id].txt
:: Python script files for this lab: lab5a.py, lab5b.py, and lab5c.py.
= LAB REVIEW =
# Write a Python script to prompt a user for the name of the file to open. Use exception error handling to provide an error message that the specific file name (display that exact name) does not exist; otherwise, open the file for reading and display the entire contents of the file (line-by-line).
[[Category:OPS435-Python]][[Category:rchan]]
1,760
edits