Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

28 bytes added, 23:02, 21 November 2017
no edit summary
# What is the purpose of '''handling''' exception errors?
# 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]]