f = open("test.txt", 'r') variable = f.readline(1) print(variable)
with open('myfile.txt') as f: first_line = f.readline()