Piotr Maliński

Results 30 comments of Piotr Maliński

Either the device is also passing keys from the keyboard or keyboard and the scanner have the same device IDs which would be odd. Where those keys from keyboard show...

When something is running in console you can still type in it (although it won't do anything). Maybe that's the case. If the keyboard would be affected by pyusb then...

pyusb takes over given device so other apps can't access nor the device will interfere with them.

You don't have pyusb installed.

You can't run an event loop inside an other application thread without freezing it. In short you have to run pyusb event loop on it's own, put data to a...

I already wrote that it can't run directly within flask! You must use a queue of some sort (memcached, redis, database) where reader process would insert and flask would read...

JavaScript function runs in interval and hits with ajax a flask endpoint view that returns a new record if present - if JS gets new data then it redirects.

Yes, there is "terminate" method on QThread.

Just copy lindy_bar_code_scanner.py under new name or modify that file and that should be all you need to get started.

Why locale is in .gitignore? :)