is there any one getting live data in python thru smartwebsocket2?
i have tried to put token =3045 in parse_binary _data and changed
def _parse_token_value(binary_packet):
token = ""
for i in range(len(binary_packet)):
if binary_packet[i] == b'\x00':
print(binary_packet)
return token
token += binary_packet[i].encode("UTF-8")
print(token)
return token
but result i get is
In on pong function==> b'\x00'
In on pong function==> b'\x00'
In on pong function==> b'\x00'
any help will be highly appriciated