#pyHook

python 监听键盘事件pyHook

 #coding=utf-8importpyHookimportpythoncom#监听到鼠标事件调用defonMouseEvent(event):if(event.MessageName!="mousemove"):#因为鼠标一动就会有很多mousemove,所以把这个过滤下print(event.Mess...

python 安装 pyHook

 下载网站:https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyhook查看python版本C:UserskDesktopfile_trans>pip-Vpip19.1.1fromc:userskanaconda3libsite-packagespip(pytho...
代码星球 ·2020-11-01