SendKeys for Python 3.1 on Windows

前端 未结 4 1666
小鲜肉
小鲜肉 2020-12-03 09:44

The latest Python Sendkeys module is for Python 2.6. I can\'t upgrade it myself as it needs the C module to be recompiled.

Does anyone know of a fairly easy alternat

4条回答
  •  [愿得一人]
    2020-12-03 10:07

    I rewrote the C bits of sendkeys in ctypes a while ago... https://bitbucket.org/markm/sendkeysctypes and I see someone else did it too: http://code.google.com/p/sendkeys-ctypes/

    If I remember it should be a drop in replacement for sendkeys (only the import line has to change)

提交回复
热议问题