a splitting headache

Ishwor Gurung ishwor.gurung at gmail.com
Thu Oct 15 21:30:31 EDT 2009


Hi

2009/10/16 Mensanator <mensanator at aol.com>:
> All I wanted to do is split a binary number into two lists,
> a list of blocks of consecutive ones and another list of
> blocks of consecutive zeroes.
Just briefly looked at your problem. Try this:
http://www.builderau.com.au/program/python/soa/Run-length-encoding-in-Python/0,2000064084,339280649,00.htm

[...]
-- 
Regards,
Ishwor Gurung



More information about the Python-list mailing list