title: detecting idle time using python
body: <p>How do I detect if the system is idle on Windows using Python (i.e. no keyboard or mouse activity).
  This has already been asked <a href="https://stackoverflow.com/questions/217157/how-can-i-determine-the-display-idle-time-from-python-in-windows-linux-and-maco">before</a>, but there doesn't seem to be a <code>GetLastInputInfo</code> in the <code>pywin32</code> module.</p>