Usage of module gives the idle time of the computer. Note: Linux requires xprintidle. Use "sudo apt install xprintidle" for the module to work.
Project description
## Gets the time your computer has been idle ## Use it in a while loop for getting continuous durations
import idle
print(idle.get_idle_duration())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
idleTime-0.5.0.2.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for idleTime-0.5.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07fb3eebb3fa16e47ea68327cbe7892114a132d1e543722e02f563ff4ce36c71 |
|
MD5 | 695e3ffecfb3cafb3b19a5a686823ac6 |
|
BLAKE2b-256 | 5abb4872cc1dc92bac36e878cb18b3d89b8781bd82902096940ebd9694589384 |