title: How to get application name from python?
body: <p>In Wondows7 64.
  I want to get application name from python.</p>
  
  <p>here is code that I can get Processes name,but it's not I want.</p>
  
  <pre><code>from psutil import process_iter
  process = filter(lambda p: p.name() == "main2.exe", process_iter())
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/SZ5Sz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SZ5Sz.png" alt="enter image description here"></a></p>