> readlines() reads all of the file into the memory. Try using xreadlines, > the generator-version, instead. And I'm not 100% sure, but I *think* doing > > for line in sys.stdin
both work -- many thanks. -clay -- http://mail.python.org/mailman/listinfo/python-list