How would you get only the first line of a file as a string with Python?
fline=open("myfile").readline().rstrip()