Fredrik, Thanks didn't realize that about reading a file on a for loop. Slick! By the way the code I posted was an attempt at not building a monolithic memory eating list like you did to return the values in your second example. Kinda thought it would be nice to read them as needed instead of all at once. I dont have itertools yet. That module looks like it rocks. thanks for the pointers, M.E.Farmer
-- http://mail.python.org/mailman/listinfo/python-list