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.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for idleTime-0.5.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f2d92380dcee1896231f8dab8596f715639d31589c64b95b105cba23cc8fa54 |
|
MD5 | f562ad0c05dbde7b06db442d6e828ce7 |
|
BLAKE2b-256 | b62f0b18115a6cfe0e939ccf79bca56b1629e1f1f93de1000a73bf3981d6f0e3 |