DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python binary remove 0b
a = bin(17) b = bin(17)[2:] #to format to 8-bits c = b.zfill(8)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#binary
#remove
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit