[Python-ideas] itertools.chunks()

Mark Lawrence breamoreboy at yahoo.co.uk
Sun Apr 7 14:24:01 CEST 2013


On 07/04/2013 10:51, Andrew Barnert wrote:
>
> I personally agree that grouper, and some of the other itertools recipes, should actually be included in the module, so you could just import itertools and call grouper instead of having to copy the 3 lines of code into dozens of different programs. But I personally deal with that by just installing more-itertools off PyPI.
>

For those who aren't aware there's always 
https://pypi.python.org/pypi/itertools_recipes/0.1 or even 
https://pypi.python.org/pypi/more-itertools/2.2

-- 
If you're using GoogleCrap™ please read this 
http://wiki.python.org/moin/GoogleGroupsPython.

Mark Lawrence




More information about the Python-ideas mailing list