Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Python Windows Mouse Utilities

Project description

This is a simple module allowing python windows developers a simple interface to the User32 mouse control functions!This module exports a Mouse class which provides an object oriented way of controlling the Windows mouse. Tutorial:

>>>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

It is very simple and easy to work with

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyWinMouse, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size PyWinMouse-1.0.win32.exe (193.8 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size PyWinMouse-1.0.zip (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page