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
Adrien.S -
Dmytro Werner -
Ali Samir -
ANIRUDDHA -
Top comments (0)