[Python-ideas] Batching/grouping function for itertools
Devin Jeanpierre
jeanpierreda at gmail.com
Sun Dec 8 06:14:18 CET 2013
More information about the Python-ideas mailing list
Sun Dec 8 06:14:18 CET 2013
- Previous message: [Python-ideas] Batching/grouping function for itertools
- Next message: [Python-ideas] Batching/grouping function for itertools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Dec 7, 2013 at 8:44 PM, Amber Yust <amber.yust at gmail.com> wrote: > After seeing yet another person asking how to do this on #python (and having > needed to do it in the past myself), I'm wondering why itertools doesn't > have a function to break an iterator up into N-sized chunks. +1. In my experience the grouper recipe in the docs serve less as a helpful example of how to use itertools and more as a thing to copy paste. That's what modules are for. -- Devin
- Previous message: [Python-ideas] Batching/grouping function for itertools
- Next message: [Python-ideas] Batching/grouping function for itertools
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list