KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working on a simple Python script that is supposed to do something, then play a video file, and then do some more stuff. I am forced to do this on a Windows XP machine with Python 3.2.3 and VLC to play my video file. I am currently using this code... vlc_path = '\\path\\to\\vlc.exe' video_path = '\\path\\to\\video\\file' subprocess.call([vlc_path, video_path]) ... to open VLC and play the video. It works nicely. However, the script waits for VLC to quit before it goes on. Which is good and I want to keep it that way. My question is: Is there a way to quit VLC right after the video file has been played? Thanks a lot for any help!
Tags (comma-separated)
Save Edits
Cancel