how to control the mouse pointer with python?

John Lenton john at
Thu Jan 13 19:14:53 EST 2005

On Thu, Jan 13, 2005 at 01:07:18PM -0800, oglycans at wrote:
> Hi.
> Anybody know a way to control the mouse pointer
> (move it around and click on things) using python?

in X11, you could use Xlib to do so. In debian unstable, that's
"apt-get install python-xlib{,-doc}", and start reading.

John Lenton (john at -- Random fortune:
Obviously I was either onto something, or on something.
             -- Larry Wall on the creation of Perl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <>

More information about the Python-list mailing list