Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

py convert binary to int

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

# Convert binary to integer
>>> int(0b11)
3
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #py #convert #binary #int
ADD COMMENT
Topic
Name
6+6 =