Exception handling

examples/files/open_file_handle.py
from __future__ import print_function

filename = 'examples/files/unicorns.txt'

try:
    with open(filename, 'r') as fh:
        lines = fh.read()
except Exception:
    print('There was some error in the file operations.')

print('Still running.')