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
Head over to the Welcome Thread and greet some new community members!
It only takes a minute of your time, and goes a long way!
Suulola Oluwaseyi -
gladwinbusula -
Nachiketa Singh -
GenIl -
Once suspended, maxangelo987 will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, maxangelo987 will be able to comment and publish posts again.
Once unpublished, all posts by maxangelo987 will become hidden and only accessible to themselves.
If maxangelo987 is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Max Angelo Dapitilla Perin.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community 👩💻👨💻 safe. Here is what you can do to flag maxangelo987:
Unflagging maxangelo987 will restore default visibility to their posts.
Top comments (0)