getting n items at a time from a generator

Paul Rubin http
Thu Jan 10 21:54:07 EST 2008


Tim Roberts <timr at probo.com> writes:
> I have to say that I have found this to be a surprisingly common need as
> well.  Would this be an appropriate construct to add to itertools?

I'm in favor.



More information about the Python-list mailing list