Mouse control in OS X

Jay Parlar jparlar at cogeco.ca
Thu Apr 20 19:38:33 EDT 2006


On Apr 20, 2006, at 1:22 PM, Mateo wrote:

> I've played around with pygame, and it seems to have much of what I
> need. Still, is there any way to initiate a mouse click from Python?
>
> Thanks.
>

In OS X, you'll probably need PyObjC. I've never had a chance to try it 
myself, but if any package is going to let you control things like 
native mouse clicks (outside of a custom GUI environment like PyGame, 
wx, gtk, QT, etc.), it will probably be PyObjC.

Jay P.




More information about the Python-list mailing list