2009/10/16 Paul Rubin <http://phr...@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 -- http://mail.python.org/mailman/listinfo/python-list
- a splitting headache Mensanator
- Re: a splitting headache Ishwor Gurung
- Re: a splitting headache Mel
- Re: a splitting headache John O'Hagan
- Re: a splitting headache Paul Rubin
- Re: a splitting headache Ishwor Gurung
- Re: a splitting headache Ishwor Gurung
- Re: a splitting headache Paul Rubin
- Re: a splitting headache Ishwor Gurung
- Re: a splitting headache Carl Banks
- Re: a splitting headache Thomas
- Re: a splitting headache Mensanator
- Re: a splitting headache Paul Rubin
- Re: a splitting headache Mensanator
- Re: a splitting headache David C Ullrich
- Re: a splitting headache Mensanator