Name

unbinary()

Examples
s1 = "00010000"
s2 = "00001000"
s3 = "00000100"
print(unbinary(s1))  # Prints "16"
print(unbinary(s2))  # Prints "8"
print(unbinary(s3))  # Prints "4"
Description
Syntax
Parameters
str
Related binary()
hex()
unhex()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License