2020年5月18日

python实现socketserver处理多连接 相关逻辑

摘要: 1.收发字符串处理 # 接收字符处理 b转str # json_str = str(self.data, encoding="utf8") json_str = self.data.decode("utf-8") # 发送字符处理 str转b data.encode() 阅读全文

posted @ 2020-05-18 15:01 星河赵 阅读(477) 评论(0) 推荐(0) 编辑

导航