详解python websocket获取实时数据的几种常见链接方式 第一种,使用create_connection链接,需要pipinstallwebsocket-client(此方法不建议使用,链接不稳定, websocket链接