A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-June/120781.html below:

[Python-Dev] itertools.chunks(iterable, size, fill=None)

[Python-Dev] itertools.chunks(iterable, size, fill=None) [Python-Dev] itertools.chunks(iterable, size, fill=None)anatoly techtonik techtonik at gmail.com
Tue Jun 26 10:03:06 CEST 2012
Now that Python 3 is all about iterators (which is a user killer
feature for Python according to StackOverflow -
http://stackoverflow.com/questions/tagged/python) would it be nice to
introduce more first class functions to work with them? One function
to be exact to split string into chunks.

    itertools.chunks(iterable, size, fill=None)

Which is the 33th most voted Python question on SO -
http://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-evenly-sized-chunks-in-python/312464

P.S. CC'ing to python-dev@ to notify about the thread in python-ideas.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4