examples/files/open_and_read.py
from __future__ import print_function

filename = 'examples/files/numbers.txt'

fh = open(filename, 'r')
for line in fh:
    print(line)            # duplicate newlines
fh.close()