Sep-28-2017, 07:05 PM
Hi,
I am a newbie to Python and to this forum. I have done a few courses on Python.
I am now trying to listen to data from a websocket. I intend to put this into a database and then process it later. For now, I have been successful at authenticating and opening up the websocket and seeing data continuously stream on my screen. However, I have no idea how to save it to a dict in python. There is no method defined or that I am able to find. u.recv() does not work either as it is a custom library. I get an error stating this is an unknown method for object u.
Am I missing something here? I have tried contacting the org owning the websocket, but no reply from them either.
Please let me know. Thank you.
I am a newbie to Python and to this forum. I have done a few courses on Python.
I am now trying to listen to data from a websocket. I intend to put this into a database and then process it later. For now, I have been successful at authenticating and opening up the websocket and seeing data continuously stream on my screen. However, I have no idea how to save it to a dict in python. There is no method defined or that I am able to find. u.recv() does not work either as it is a custom library. I get an error stating this is an unknown method for object u.
Am I missing something here? I have tried contacting the org owning the websocket, but no reply from them either.
Please let me know. Thank you.