examples/files/read_file.py
from __future__ import print_function

filename = 'examples/files/numbers.txt'

f = open(filename, 'r')    # open(filename) would be enough
for line in f:
    print(line)            # duplicate newlines
    #print(line, end="")   # eliminte the trailing newline of print
f.close()
examples/files/numbers.txt
23 345 12345
67 189 23 17