eof

Boris Borcic bborcic at gmail.com
Thu Nov 22 14:22:54 CET 2007


> def chunked(chunksize,f) :
>      from itertools import count,groupby
>      counter=count(chunksize).next
>      return groupby(f,lambda _ : counter()/chunksize)

And more to the point, no "yield" for Alexy to mock :)




More information about the Python-list mailing list