Why "keyboard" module crashing the program?

-1

Python 3.7. keyboard.hook(), keyboard.wait(), and keyboard.record()(maybe others too, did not check) crashing programm with code: -1073740771 (0xC000041D). But functions is worked before crash. Windows 8.1, keyboard module version - 0.13.5

code example:

import keyboard

def function(e):
    print(e)
keyboard.hook(functions)
keyboard.wait()
python
asked on Stack Overflow Apr 5, 2020 by type49 • edited Apr 5, 2020 by type49

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0