input record seperator (equivalent of "$|" of perl)

M.E.Farmer mefjr75 at hotmail.com
Mon Dec 20 02:03:07 CET 2004


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




More information about the Python-list mailing list