title: Python code to automate desktop activities in windows
body: <p>I want to automate desktop activities in Windows environment using Python. How it can be done? Some examples will also be helpful.</p>
  
  <p>By desktop activities, I mean actions such as taking control over mouse and keyboard, access active windows properties, double-click on an icon on the desktop, minimize and maximize windows, enter data to an input popup window through keyboard, etc.</p>