I have a program that should produce a sound when booting up. The code is 
below. 

    jobs = multiprocessing.Process(pyglet.media.load('./boot.ogg', 
streaming=False).play())  #Boot sound#

The code doe not work. I tested the code in a terminal running Python3, and 
I got the following problem.

>>> import pyglet
>>> pyglet.media.load('./boot.ogg', streaming=False).play()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'media'


How do I get this to work in Python3?

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to