> (I do not want to read the entire file using readlines because it could > overwhelm the memory.) Even so, this is just for the record: http://www.bagley.org/~doug/shootout/bench/reversefile/reversefile.python Cheers, // mark