title: How to close/exit/quit Vlc Player in python on Ubuntu
body: <p>I am trying to write a simple program in Python on Ubuntu that will close/exit/quit VLC Player when playing video has completed.</p>
  
  <p>Can you please guide me that what should I add in my program to get my required result.</p>
  
  <pre><code>import io,sys,os,subprocess
  from tkFileDialog import askopenfilename
  global process
  name= askopenfilename(filetypes=[("Video Files","*.h264")])
  myprocess = subprocess.call(['vlc',name])
  </code></pre>
  
  <p>Thank you</p>