Python: Reverse reader

Sometimes you want to read files from the end to the front. You can find a lot of recipes online, but I'm using the one in the comments from here (scroll down). Bonus feature, I can use that one as an iterator, so csv.reader and other stuff like it can use it. Blogging it here, so I know where to find it again if I need it :)


Comments powered by Disqus