Today's lab will have 2 parts:

0. Using the urllib program I showed in class, run the program on a web page of your choice

1. Mimic the exception program I introduced in class

a. Write a program that crashes when a user gives a file name for reading that doesn't exist.

b. Fix this crash using exceptions

c. Write a program that crashes when a user gives a word when the program wants a number.

d. Fix this crash using exceptions


Last modified: Thursday, October 19, 2017, 2:56 PM