On Jul 14, 9:46 pm, Billy Mays <[email protected]> wrote: > I noticed that if a file is being continuously written to, the file > generator does not notice it: > > def getLines(f): > lines = [] > for line in f: > lines.append(line) > return lines
what's wrong with file.readlines() ? -- http://mail.python.org/mailman/listinfo/python-list
