python3报错:TypeError: can't concat bytes to str

有时会报错这个:TypeError: Can't convert 'bytes' object to str implicitlyhtml 解决方法:使用字节码的decode()方法。python 示例:post str = 'I am string' byte = b' I am bytes' s = str + byte print(s)   这时会报错:TypeError: Can't co
相关文章
相关标签/搜索