Contact: aviboots(AT)netvision.net.il
43,875 questions
57,261 answers
573 users
s = "1A3" b = bin(int(s, 16)).zfill(8) print(b) ''' run: 0b110100011 '''
s = "1A3" b = "{0:08b}".format(int(s, 16)) print(b) ''' run: 110100011 '''