Popular recipes tagged "bits" but not "manipulation"http://code.activestate.com/recipes/tags/bits-manipulation/2009-05-04T16:37:02-07:00ActiveState Code RecipesBitset (Python)
2009-05-04T16:37:02-07:00geremy condrahttp://code.activestate.com/recipes/users/4170000/http://code.activestate.com/recipes/576738-bitset/
<p style="color: grey">
Python
recipe 576738
by <a href="/recipes/users/4170000/">geremy condra</a>
(<a href="/recipes/tags/bits/">bits</a>, <a href="/recipes/tags/bytes/">bytes</a>).
</p>
<p>This is a simple Bitset type for Python. It implements the Sequence interface plus __setitem__, the set operations, and string and integer conversions.</p>