last mouse movment or keyboard hit

Gabriel Genellina gagsl-py2 at
Wed Mar 26 05:14:23 CET 2008

En Wed, 26 Mar 2008 00:38:08 -0300, Ron Eggler <ron at> escribió:

> I would like to get the time of the most recent human activity like a  
> cursor
> movement or a key hit.
> Does anyone know how I can get this back to start some action after there
> has been no activity for X minutes/seconds?

Which platform? On non-ancient Windows versions, you can periodically  
check GetLastInputInfo

Gabriel Genellina

More information about the Python-list mailing list