Alex Rivera | Logout

Does Python have a bitfield type?

Asked 2008-09-27T02:47:40.397
59

I need a compact representation of an array of booleans, does Python have a builtin bitfield type or will I need to find an alternate solution?

Edit
Report

1 Answer

4

NumPy has a array interface module that you can use to make a bitfield.

answered 2008-09-27T02:52:13.740

Your Answer