Wait for song played outside of python to finish <p>I am trying to wait for a song to finish to play the next song. </p> <p>I am running python 3.4 on windows but am trying to be able to use it on Linux (<code>raspberry pi</code>). </p> <p>I have used the command <code>subprocess.call([PLAYER, SONG])</code> to open the mp3 file. It plays in vlc and then stops. I know that I have not incorporated anything for the program to tell python when its finished. </p> <p>That's where you guys come in. I want to find a command that will wait until the song has finished and when the song is finished, the rest of the code will process. </p> <p>I would like the command to be able to used on a Linux operating system and I am trying not to have to install any modules. </p> <p>If modules are definitely needed, I will install them. </p>