a splitting headache

Ishwor Gurung ishwor.gurung at gmail.com
Thu Oct 15 21:57:52 EDT 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