How to convert “binary_string” to b“binary_string”?

前端 未结 0 1227
长发绾君心
长发绾君心 2020-12-12 09:02

Question

>>> source = \'\\xe6\\x88\\x91\\xe5\\x80\\x91\'
>>> output = bytes(\'我們\', \'utf8\')

How do I convert from

相关标签:
回答
  • 消灭零回复
提交回复
热议问题