Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/e/personis-0.933/personis/examples/activity/__main__.py   personis(Download)
        def getIdleTime(self):
            return win32api.GetLastInputInfo()/1000
 
elif osname == 'posixDarwin':
    from Quartz.CoreGraphics import CGEventSourceSecondsSinceLastEventType