# Module textlines version 1.2
# Released to the public domain 05-May-1999
# by Oliver Steele ([email protected]).

Use textlines(file) instead of file.readlines() when it's not possible or
desirable to read the entire file into memory at once.  For example:
 for line in textlines(file):
   ...
is computationally equivalent to
 for line in file.readlines():
   ...
but only reads one line at a time into memory.