I am using windows 10 64-bit system. I want to play a video in vlc media player using python2.7. I have implemented this code: import subprocess import os
p = subprocess.Popen(["C:/Program Files/VideoLAN/VLC/vlc.exe","F:/abacus.mp4"]) But on executing the above code, only vlc player get started but does not play that abacus.mp4 video. I have also tried this:
p = subprocess.Popen([os.path.join("C:/", "Program Files", "VideoLAN", "VLC", "vlc.exe"),os.path.join("F:/", "abacus.mp4")]) But unfortunately, I am getting the same result. Please let me know if anyone could help me on this. Thanks in advance.