Are there any canned Python methods to convert an Integer (or Long) into a binary string in Python?
There are a myriad of dec2bin() functions out on Google... But I
This is for python 3 and it keeps the leading zeros !
print(format(0, '08b'))