read only the first line of a file?,fline = open('myfile').readline().rstrip()