📜  如何删除python字符串前面的b - Python代码示例

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

代码示例1
str_object = b'Python Pool'
print(str_object)                   # => b'Python Pool'
str_object = str_object.decode()
print(str_object)                   # => Python Pool