File Handling
with open("myfile.txt", "r", encoding='utf8') as file:
for line in file:
print(line)
See: File Handling
Comments
with open("myfile.txt", "r", encoding='utf8') as file:
for line in file:
print(line)
See: File Handling