Jul-22-2019, 11:42 AM
Pseudocode:
1. get filename
2. start try/except block
3. open the supplied filename for read
4. if no error, display success message
5. in the exception script (the part that executes if there is an exception), display message "not found"
6. end try/except block
7. drink coffee.
1. get filename
2. start try/except block
3. open the supplied filename for read
4. if no error, display success message
5. in the exception script (the part that executes if there is an exception), display message "not found"
6. end try/except block
7. drink coffee.