Using mouse

Scott David Daniels Scott.Daniels at Acm.Org
Tue Jan 1 13:17:10 EST 2008


Lucas Prado Melo wrote:
> I would like to control mouse events (i.e. I would like to "click" and
> move mouse around by code).
> How do I do this in python?

A python doesn't have a mouse for long; it eats them up.

It is your display and user I/O system that deals with mice,
and so, inevitably, the answer to your question (and, indeed
whether such a thing is even possible) depends on the OS and
display packages you are using.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list