Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

bytes to string python

# utf-8 is used here because it is a very common encoding, but you
# need to use the encoding your data is actually in.
bytes = b'abcde'
bytes.decode("utf-8") 
'abcde'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bytes #string #python
ADD COMMENT
Topic
Name
5+1 =