Surely this has been asked before but I cannot find the question.
As I understand it, in Python (I'm using 3.3 but this is generic to both 2.x and 3.x) you cannot iterate multiple times over an open text file and that this is due to the cursor being moved to the end and does not return to the start on the next iterable loop. Therefore it does not behave like a more typical iterable.
I was wondering how to return the cursor to the start, or at least have two for loops in succession over an open file to be read.
Thanks.