import subprocess p = subprocess.Popen(["cvlc", "--loop", "0", "inthemood.mp3"], stdin=subprocess.PIPE) from time import sleep while True: sleep(1) p.stdin.write("+") print ("FASTER")