how to print a file line by line in python code example
Example: print file line by line python
with open('yourfile.txt','r') as f:
lines = f.readlines()
f.close()
with open('yourfile.txt','r') as f:
lines = f.readlines()
f.close()