Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python byte string

#A byte string can be decoded back into a character string, 
#if you know the encoding that was used to encode it.
b'I am a string'.decode('ASCII')
b'I am a string'.decode('utf-8')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #byte #string
ADD COMMENT
Topic
Name
8+8 =