I was looking at playing sounds using python and stumbled upon pyglet.
The mp3 file is in the same folder as the .py file. When I run it, it plays the mp3 file, but python freezes up. I noticed that the same thing happens when I type pyglet.app.run() in interactive mode.Code:import pyglet foo=pyglet.media.load('abc.mp3') foo.play() pyglet.app.run()
I'm a python newbie, just got started with it.
Any help would be much appreciated.
Bookmarks