>> print "0x%x" % int('', 2 ) 6 0xaeb3ab57d To character. 8 bits max. Toggle line numbers." />