8 ms·
Have you tried bitarray[1]? [1]: https://pypi.python.org/pypi/bitarray https://pypi.python.org/pypi/bitarray
by RazerM 11y ago
Have you tried bitarray[1]?
[1]: https://pypi.python.org/pypi/bitarray https://pypi.python.org/pypi/bitarray
- robzyb 11y agoIt was that easy? Man. Looking forward to giving these a shot...
- toyg 11y agoObligatory XKCD: https://xkcd.com/353/ https://xkcd.com/353/
- tonyarkles 11y agoI've used it quite heavily to parse data that comes in 85- and 1275-bit chunks and it works awesome. Edit: sorry, it was bitstring, not bitarray. bitstring.BitArray :).
- _yy 11y ago+1 from me. Excellent library