demo_file_readline3.py:
f = open("demofile.txt", "r") for x in f: print(x)
C:\Users\My Name>python demo_file_readline3.py
Hello! Welcome to demofile.txt
This file is for testing purposes.
Good Luck!