I agree that encode() and decode() are ambiguous, I find myself pausing to make sure I&#x27;m using the right one.<p>You can use bytes(string,encoding) to replace encode(). Unfortunately it doesn&#x27;t have a default encoding, which makes it a pain to use. And str(bstring) isn&#x27;t symmetric, it can&#x27;t replace decode().