会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
badbadboy
博客园
首页
新随笔
联系
订阅
管理
2019年12月8日
python实现建立websocket通信
摘要: 实现代码如下: #websocket协议通信 import threading import time import websocket def when_message(ws, message): print('/n接收到的消息:' + message) # 当建立连接后,死循环不断输入消息发送给
阅读全文
posted @ 2019-12-08 13:49 badbadboy
阅读(2286)
评论(0)
推荐(0)
编辑