a splitting headache

Ishwor Gurung ishwor.gurung at gmail.com
Fri Oct 16 03:30:31 CEST 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