бинарный к десятичным значениям в питоне
int(binaryString, 2)
Bored Bison
int(binaryString, 2)
==== Convert binary to decimal in Python ======
a = '11001100' # input a binary
b = int(a,2) # base 2 to base 10
print(b,type(b)) # 204 <class 'int'>
format(decimal ,"b")