K
K
kommov2017-06-09 21:53:20
Python
kommov, 2017-06-09 21:53:20

How to do global keystroke interception in Python 3.6 without unicode error?

It is necessary to make the script in the background start some actions only after pressing a certain key combination. I rummaged all over Google, found a lot of modules, but all of them get errors Unicode decode errorrelated to the fact that they do not work when a window with Cyrillic comes into focus. Or some modules are simply not supported in version 3.6. Are there any solutions to this problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question