import idle
print(idle.get_idle_duration())
iamunr4v31/idle_time
Usage of module gives the idle time of the computer. Note: Linux requires xprintidle. Use "sudo apt install xprintidle" for the module to work.
PythonMIT
Usage of module gives the idle time of the computer. Note: Linux requires xprintidle. Use "sudo apt install xprintidle" for the module to work.
PythonMIT