Hi 2009/10/16 Mensanator <mensana...@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 -- http://mail.python.org/mailman/listinfo/python-list