py convertir binaire en int

# Convert integer to binary
>>> bin(3)
'0b11'

# Convert binary to integer
>>> int(0b11)
3
Precious Peafowl