How to get the 32-bit twos-complement bit pattern of an int?
<p>Is there some way to get the actual bit representation, instead of the garbage '-0bx'? I need to actually be able to see the bits. Whether or not it comes out big/little endian doesn't matter. This is for an assignment. 
Does anyone know how to view the actual 2's complement bit representation of an integer in python?</p>
