demo_ref_file_readlines2.py:
f = open("demofile.txt", "r") print(f.readlines(33))
C:\Users\My Name>python demo_file_readlines2.py
['Hello! Welcome to demofile.txt\n', 'This file is for testing purposes.\n']