demo_ref_file_read2.py:
f = open("demofile.txt", "r") print(f.read(33))
C:\Users\My Name>python demo_file_read2.py
Hello! Welcome to demofile.txt
Th