发布时间:2019-08-30 09:29:51编辑:auto阅读(2643)
##注意要安装 pip install websocket-clientfrom websocket import create_connection ws = create_connection("ws://127.0.0.1:9002") ws.send("Hello, World")##发送消息 result = ws.recv()##接收消息 ws.close()
上一篇: python 基础知识汇总(注释规范)
下一篇: 【算法——Python实现】最大堆和最小
54745
41533
36113
31581
26483
26182
24717
20301
16257
15684
2739°
2486°
2592°
2729°
2681°
2902°
2820°
2656°
2671°
2644°