title: Find the time usage of my app using python
body: <p>I have made a python code that runs an application. I need to monitor when the app is opened and running, so that, I will make a graph of usage of my app!!!
  Please tell me if you know how.. 
  <strong>It's great if I got the piece code directly</strong>
  THANK YOU!!! </p>