title: Check to see if python script is running
body: <p>I have a python daemon running as a part of my web app/ How can I quickly check (using python) if my daemon is running and, if not, launch it?</p>
  
  <p>I want to do it that way to fix any crashes of the daemon, and so the script does not have to be run manually, it will automatically run as soon as it is called and then stay running.</p>
  
  <p>How can i check (using python) if my script is running?</p>