How do I represent and work with n-bit vectors in Python?

The library BitVector is a pure-Python library for this purpose, and should suit the needs you specified.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)