>>> x='123abc'
>>> b=bin(int(x,16))[2:]
>>> print(b)
100100011101010111100

 

相关文章: