1import sys
2import subprocess
3subprocess.check_call([sys.executable, '-m', 'pip', 'install',
4'playsound'])
5import playsound
6playsound("MyPath\\MySound.mp3")
1import sys
2import subprocess
3subprocess.check_call([sys.executable, '-m', 'pip', 'install',
4'playsound'])
5import playsound
6playsound("MyPath\\MySound.mp3")
7