You had it nearly right in the last line. You want
str(bytes_string, 'utf-8')
because the type of bytes_string
is bytes
, the same as the type of b'abc'
.
You had it nearly right in the last line. You want
str(bytes_string, 'utf-8')
because the type of bytes_string
is bytes
, the same as the type of b'abc'
.
For further actions, you may consider blocking this person and/or reporting abuse
Praveen -
The Techeez -
Erasmus Kotoka -
Sonic Boom -
Top comments (0)