Python

Python logo

My day job has been keeping me busy, and I haven’t had a lot of spare time to work on projects or to even read (I’ve got quite the backlog […]

The other day I found myself wondering how to perform bitwise rotations in Python, particular bit rotations (circular shifts). There’s lots of complex ways to do it – bitstring, bitarray, and […]