Create IdleTime in Python

1/ cannot use os.system for running the idle command, and so i use os.popen