I installed a module package (playsound) and I've been stuck trying to use it, I have tried opening the package from cmd but nothing worked , I dont know how to use this package , please help . edit : I have tried suggested awnsers but it didint work , here is a screenshot maybe im doing something wrong https://i.sstatic.net/bCORU.jpg
The pythonic way of downloading modules is through Pip
Pip is already installed when you install Python.
You can download playsound using this command in cmd:
pip install playsound
Now import the function from the module:
from playsound import playsound
Then you can call the playfound function with this:
playsound('/path/to/a/sound/file/you/want/to/play.mp3')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With