my_file = open("file1.txt", "r") for line in my_file: print(line) my_file.close()