+ 5
How to play a song in python
4 Respostas
+ 6
import pyglet
music = pyglet.resource.media('name.mp3')
music.play()
pyglet.app.run()
Or you can use 'os' library, but I can't send you example, I haven't it.
+ 5
I have no experience in py but i search it for you😀
https://stackoverflow.com/questions/20021457/playing-mp3-song-on-JUMP_LINK__&&__python__&&__JUMP_LINK
+ 2
thnks
+ 2
pip install playsound(in cmd)
in IDE
from playsound import playsound
playsound('filename.mp3')