Code Snippets

with open('data.txt', encoding='utf-8') as f:
    for line in f:
        print(line.rstrip())