摘要:
PyUserInput像是轻量级的按键精灵,这里只是记录下自己知道这个库,方便后续学习 需提前安装 pyhook pip install pyHook-1.5.1-cp36-cp36m-win_amd64.whl from pymouse import PyMouse from pykeyboard 阅读全文
摘要:
很简单的代码,直接贴代码: import os, time import pyautogui as pag try: while True: print("按下Ctrl + C 结束程序") # pag.position()返回鼠标的坐标 x, y = pag.position() posStr = 阅读全文