title: How to wait until a sound file ends in vlc in Python 3.6
body: <p>I have a question in vlc in python</p>
  
  <pre><code>import vlc
  
  sound = vlc.MediaPlayer('sound.mp3')
  
  sound.play()
  
  # i wanna wait until the sound ends then do some code without 
  time.sleep()
  </code></pre>