Python Converting Float to Binary

import bitstring
f1 = bitstring.BitArray(float=1.0, length=32)
print(f1.bin)
Hilarious Herring