advice : how do you iterate with an acc ?

bonono at gmail.com bonono at gmail.com
Fri Dec 2 21:34:12 EST 2005


Bengt Richter wrote:
> It looks to me like itertools.groupby could get you close to what you want,
> e.g., (untested)
Ah, groupby. The generic string.split() equivalent. But the doc said
the input needs to be sorted.




More information about the Python-list mailing list