a splitting headache

Ishwor Gurung ishwor.gurung at gmail.com
Fri Oct 16 03:57:52 CEST 2009


2009/10/16 Paul Rubin <http://phr.cx@nospam.invalid>:
[...]
> You might also like:
>
>    from itertools import groupby
>    c = '0010000110'
>    print list(list(xs) for k,xs in groupby(c))
Too bad groupby is only available in Python2.6+
Since you're here, any chance of getting your NDK team to look into
getting some small subset of STL, Boost into Android? :-P That'd be
awesome thing you know.
-- 
Regards,
Ishwor Gurung



More information about the Python-list mailing list