<reponame>ethansaxenian/RosettaDecode
line = my_file.readline() # returns a line from the file
lines = my_file.readlines() # returns a list of the rest of the lines from the file

line = my_file.readline() # returns a line from the file
lines = my_file.readlines() # returns a list of the rest of the lines from the file
# returns a line from the file # returns a list of the rest of the lines from the file