News for hackers. Stuff that matters.
Re:Working with Binary Data in Python by RazerM on Monday December 07, 2015 @05:49AM (#10688686)
Have you tried bitarray[1]?

[1]: https://pypi.python.org/pypi/bitarray

Re:Working with Binary Data in Python by robzyb on Monday December 07, 2015 @06:44AM (#10688819)
It was that easy? Man. Looking forward to giving these a shot...
Re:Working with Binary Data in Python by tonyarkles on Monday December 07, 2015 @03:57PM (#10692635)
I'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 :).

Re:Working with Binary Data in Python by toyg on Monday December 07, 2015 @09:11AM (#10689490)
Obligatory XKCD: https://xkcd.com/353/
Re:Working with Binary Data in Python by _yy on Monday December 07, 2015 @11:47AM (#10690572)
+1 from me. Excellent library