title: Python detect a python script's name in the list of processes
body: <p>I know I can use <code>psutil</code> to get a list of running processes' names like this</p>
  
  <pre><code>import psutil
  
  for i in psutil.pids():
      print(psutil.Process(i).name())
  </code></pre>
  
  <p>However, If i run a python script with python, <strong>psutil</strong> only will show me that I have an instance of <strong>python</strong> running.</p>
  
  <p>So, my question is - if I run a python script:</p>
  
  <pre><code>python script_name
  </code></pre>
  
  <p>is it possible to detect <code>script_name</code> by <strong>psutil</strong>?</p>