Remove ‘b’ character do in front of a string literal in Python 3 [duplicate]

This should do the trick:

pw_bytes.decode("utf-8")

Leave a Comment