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
Md Yusuf -
Lutif Ali -
Md Yusuf -
pragyanandasaho -
Top comments (0)