Answer the question
In order to leave comments, you need to log in
How to fix problem with pyHook module?
The .py file works, I run the .exe (I used pyinstaller to get the .exe), I press any key, the program aborts (due to an error)
.py
.exe
Error text:
TypeError: KeyboardSwitch() missing 8 required positional arguments: ' msg', 'vk_code', 'scan_code', 'ascii', 'flags', 'time', 'hwnd', and 'win_name'
Python version 3.7. Please help..
Answer the question
In order to leave comments, you need to log in
The program must be launched where there are no Russian characters in the path.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question