python windows鼠标实用程序
PyWinMouse的Python项目详细描述
这是一个简单的模块,允许python windows开发人员使用一个简单的用户界面32鼠标控制函数!此模块导出一个鼠标类,该类提供了一种面向对象的方法来控制windows鼠标。 教程:
>>>a=Mouse()#Creates a mouse object >>>a.left_click()#Left clicks >>>a.right_down()#Presses down the right mouse button >>>a.move_mouse(30, 22)#Moves mouse to (30, 22) >>>a.get_mouse_pos() (30, 22)#If the mouse has not been moved
它非常简单且易于使用