binary to decimal python built in function code example Example: binary to decimal in python int(binaryString, 2)