A nice way to iterate through large text files line by line (starting from the beginning) without loading the whole thing into memory using python is by doing:
with open('textfile.txt') as infile:
for line in infile:
do_something
Is there an easy way to do the same line by line iteration without loading the file into memory, but starting from the end of the file?