I'd simply like to convert a base-2 binary number string into an int, something like this:
>>> '11111111'.fromBinaryToInt() 255
Is there a way to do this in Python?
← Назад к списку