def print_lines(FILENAME):

    try:
        with open(FILENAME, 'r') as f:
            lines = f.readlines()
            print("---------- %s ----------" %FILENAME)
            for line in lines:
                print(line.strip('\n'))
            print(" ")

    except __HOLE__ as e:
        print "I/O error({0}): {1} for file {2}".format(e.errno, e.strerror, FILENAME)

    return lines
dataset/ETHPy150Open bt3gl/Neat-Problems-in-Python-and-Flask/Version-Control/src/system_operations.py/print_lines