Hi, > There are several ways. Best overall, today (Python 2.1): > > for line in fh.xreadlines(): > process(line) Is xreadlines something I missed or is it a misspelled readlines? Because as far as I know readlines reads in the whole file into a list containing the lines, which might not be so practical if the file is waay big? Kudos, Dietmar