Looks like there are a lot of youtube tutorials on the subject, surprisingly. This one shows a cross-platform approach using the pynput module, while this one looks to be using a windows-specific approach (pyhook and pythoncom). Can't vouch for either of these as I just found them through some searching, and I am sure there are others as well.
代码外科医生在评论中回答了我。在
我发现
pynput
适合我。(Windows 10/Python 3.4)你可以尝试制作一个python键记录器。不过,只使用Pygame会容易得多。在
相关问题 更多 >
编程相关推荐