Shove each line into a list and then access the last and second last elements in this list.
lines = []
for line in myFile:
lines.append(line)
lastItem = lines[-1] # -1 refers to the last item in a list
secondLastItem = lines[-2] # -2 refers to the second last item in a list.. etc.