Am converting a value from hexadecimal to binary value.I used bin() of python like this:
value = 05808080
print bin(int(value, 16))
output i got is 0b101100000001000000010000000(output should be 32 bit)
output should be 0000 0101 1000 0000 1000 0000 1000 0000(correct output)
What is this 'b' in the output and how can i replace it with correct binary values.I think two values up here is almost same except issue with "b" in output.How will i resolve this ?
', I get SyntaxError, because an octal number (starting with0can not contain an 8.