Muhammad Alkarouri wrote: > --- On Wed, 21/1/09, Stéfan van der Walt <[email protected]> wrote: > > >> From: Stéfan van der Walt <[email protected]> >> > ... > >> You can also take a look at Ilan Schnell's bitarray: >> >> http://pypi.python.org/pypi/bitarray/ >> > > Looks good to me. Thanks for the suggestion. >
You might also make use of the NumPy functions: packbits unpackbits fromfile Read the bits in as uint8 data using fromfile. Then, you can manipulate them either using bit twiddling or with indexing operations after unpacking to boolean arrays. -Travis _______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
