For an exercise I\'m doing, I\'m trying to read the contents of a given file twice using the read()
method. Strangely, when I call it the second time, it doesn\
I always find the read method something of a walk down a dark alley. You go down a bit and stop but if you are not counting your steps you are not sure how far along you are. Seek gives the solution by repositioning, the other option is Tell which returns the position along the file. May be the Python file api can combine read and seek into a read_from(position,bytes) to make it simpler - till that happens you should read this page.