擅长:python、mysql、java
<p>在Windows上,一个可能的解决方案是安装<a href="http://sourceforge.net/projects/pywin32/" rel="nofollow noreferrer">Python for Windows extensions</a>并使用<a href="http://docs.activestate.com/activepython/2.4/pywin32/PyCWnd__HookAllKeyStrokes_meth.html" rel="nofollow noreferrer">PyCWnd.HookAllKeyStrokes</a></p>