I was looking at playing sounds using python and stumbled upon pyglet.
import pyglet
foo=pyglet.media.load('abc.mp3')
foo.play()
pyglet.app.run()
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.
I'm a python newbie, just got started with it.
Any help would be much appreciated.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en.