itertools.chunks(iterable, size, fill=None)
26 Jun
2012
26 Jun
'12
3:03 a.m.
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-evenl... P.S. CC'ing to python-dev@ to notify about the thread in python-ideas.
4225
Age (days ago)
4294
Last active (days ago)
25 comments
15 participants
participants (15)
-
anatoly techtonik
-
Georg Brandl
-
Joao S. O. Bueno
-
Michele Lacchia
-
Mike Graham
-
Mike Meyer
-
Miki Tebeka
-
MRAB
-
Raymond Hettinger
-
Simon Sapin
-
Stefan Behnel
-
Stephen J. Turnbull
-
Steven D'Aprano
-
Tal Einat
-
Terry Reedy