python的pyHook 3.3 [英] pyHook for Python 3.3

查看:128
本文介绍了python的pyHook 3.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Python编写一个简单的键盘记录程序.我希望使用pyHook捕获键盘事件.找不到安装的适用于python 3.3的pyHook软件包. python 3.3是否有其他提供类似功能的模块?

I am coding a simple keylogger using Python. I hope to use pyHook to capture keyboard events.I couldn't find any packages of pyHook for python 3.3 which I have installed. Is there any other module for python 3.3 which provides similar functionalities?

推荐答案

一个快速的Google出现了此网站,其中包含用于Python 3.3的pyHook 1.5.1(以及许多其他软件包)的非官方安装程序.我没有测试过,但似乎值得尝试.如果结果不起作用,Google结果首页上还会有其他两个类似的存储库.

A quick google turned up this site, which has unofficial installers for pyHook 1.5.1 (and a whole lot of other packages) for Python 3.3. I haven't tested it, but it seems worth trying. And there are a couple of other similar repositories on the first page of Google results if this one doesn't work.

我还发现了github上的一些分支,例如这一个,其中有3.x版中的Unicode错误的修复程序. .我不知道这些错误是否已经在主要的pyHook项目中修复(或在1.5.1版本中实现),但是如果遇到问题,则可能需要看看.

I also found a few forks on github, like this one, which have fixes for Unicode bugs in 3.x. I have no idea if those bugs have been fixed in the main pyHook project (or made it into the 1.5.1 release), but if you run into problems, you may want to take a look.

如果您安装了编译器(MinGW和/或Visual Studio Express)并使用easy_installpip自动安装软件包,并且在必要时从源代码进行构建,则您将有更多选择.然后,您无需搜索所有内容的二进制安装程序.

You'd have a lot more options if you installed a compiler (MinGW and/or Visual Studio Express) and used easy_install or pip to install packages automatically, building them from source if necessary. Then you wouldn't need to search for binary installers for everything.

这篇关于python的pyHook 3.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆