last mouse movment or keyboard hit

Ron Eggler ron at
Wed Mar 26 15:28:26 CET 2008

Gabriel Genellina wrote:

> 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
No, it would be for Linux and preferrably it would work on MacOS & Windows
as there anything?
chEErs roN

More information about the Python-list mailing list