python3.x 将byte转成字符串
result = str(要转换的变量名, encoding="utf-8")
例如:
result = str(request, encoding="utf-8")
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。
result = str(要转换的变量名, encoding="utf-8")
例如:
result = str(request, encoding="utf-8")