import hid
hidraw = hid.Device(0х2341, 0х8036)
hidraw.close()
import hid
vid = 0x2341
pid = 0x8036
while True:
try:
hidraw = hid.Device(vid, pid)
data = hidraw.read(64, 200)
print(data)
hidraw.close()
except hid.HIDException as ex:
print(ex)
hid.hidapi.hid_exit()