Bit Arrays

Stefan Franke spamfranke at bigfoot.de
Tue Apr 20 16:17:18 EDT 1999


There is no bit or bit array type directly supported by Python.

Are you in need of a memory-optimal solution? In that case
I would suggest to use the array module. Otherwise it should
be no problem using a list of lists.

What about NumPy?

Stefan

On Tue, 20 Apr 1999 11:21:24 -0500, "Laura Paterno" <lpaterno at fnal.gov> wrote:

>Hello all,
>
>I want to write a python program that has 26 Bit Arrays that each contain
>1113 bits. Is there a structure in python that one can use to represent a
>bit array?
>
>Laura Paterno
>





More information about the Python-list mailing list