logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

如何解决 AttributeError: ‘str‘ object has no attribute ‘decode‘

解决问题AttributeError: 'str' object has no attribute 'decode'解决思路根据问题提示,意思是,属性错误:“str”对象没有属性“decode”python3.5和Python2.7在套接字返回值解码上的区别python在bytes和str两种类型转换,所需要的函数依次是encode(),decode()解决方法T1、直接去掉直接去掉decode(

#python
暂无文章信息