python模拟鼠标拖动教程

python模拟鼠标拖动教程

#!/usr/bin/python
# -*- coding: UTF-8 -*-
 
from pymouse import PyMouse

m = PyMouse()

m.press(125,359) 
m.release(472,215)

那真的是很简单了  

press release 都在自带move方法了

猜你喜欢

转载自www.cnblogs.com/newmiracle/p/12433327.html