demo_ref_file_seek.py:
f = open("demofile.txt", "r") f.seek(4) print(f.readline())
C:\Users\My Name>python demo_file_seek.py
o! Welcome to demofile.txt