📜  没有编码的 python 字符串参数 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:48.592000             🧑  作者: Mango

代码示例1
You will not do bytes("bla bla") but just b"blabla" or you need to specify an encoding type like bytes("bla bla","utf-8") because it needs to know what was the original encoding before turning it into an array of numbers.