Ross Ridge  wrote:

>This is the code I use to convert large bit arrays to byte strings and
>back:
>
>import string
>import binascii
>import array

8<--------------- examples ----------------------

>I don't think you can do anything faster with standard modules, although
>it might not be efficient if you're only working with a single byte.

Thanks I was not aware of binascii module this looks powerful.

- Hendrik



--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to