Ask coding questions

← Back to all posts
is it possible to play music in Tkinter, or pygame?
AustinMoore4 (0)

I was just wondering if this is possible. I am adding it to a computer "emulator"

It's still in its early stages.

but it will need music support for 2 apps:
mp3 player
video player

if someone knows how please make a repl.it in Tkinter if possible showing it

Comments
hotnewtop
ryanbrwr (33)

Hey! Looks like playing audio files is not possible in tkinter might not be possible. But I found a good resource for adding mp3s to pygame: https://www.geeksforgeeks.org/python-playing-audio-file-in-pygame/