I would like to convert a string into binary numbers using python 2.X
Input : str = "4000ff11941859f3138e00000000673ac3b40047c0762b47818 ......"
print type(str)
>> <type 'str'>
Output should be : 0100000000001111000100011001010000011000101.......
eg: 4 as 0100
f as 1111
Can some one suggest how to do this ? thanks in advance.