Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #51495
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <devyncjohnson@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.035 |
| X-Spam-Evidence | '*H*': 0.93; '*S*': 0.00; 'attribute': 0.07; 'filename:fname piece:py': 0.07; 'python3': 0.07; 'python': 0.11; 'script,': 0.16; "ubuntu's": 0.16; 'url:html)': 0.16; 'import': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'script': 0.25; 'attached.': 0.26; 'skip:" 20': 0.27; 'tried': 0.27; 'skip:p 30': 0.29; 'code': 0.31; 'received:10.0.0': 0.31; 'file': 0.32; '(most': 0.33; 'skip:# 10': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'received:10.0': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'recent': 0.39; 'url:2012': 0.39; 'to:addr:python.org': 0.39; 'url:17': 0.68; 'default': 0.69; 'fail.': 0.84; 'song': 0.84; 'sound.': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=61KMLPR/T+xzvJXiJ6ytkgcbqfeW2oUCZHHLtG/98/o=; b=YUS70mVDYCrGpQYUBrpWbvzzSMp6HZSGo89NP1O5+nvYs6W2g+usVfTLFWSG2G08On mJZcQJ/hGxZ5bdwNXHTismMA2xOh1sQ7HVetmMGaVhpyLoXQNgsaIQqyLk1IkvvGJ0Ld BqT138zpRyYMOI1OJS+k+Xic4nnEgXuEpdwOp8UNmEeXJF1NpelJ4mpHaSmonj+nZ5Q3 Zo5wHSoLVABgIIcB2WoakNd7IS6rEEIKQ9sBmy72w8aFzvhK8iaSOs7RaXU1oK0qRDo7 OriXQfj76d+cTAMYZwSTMw3JS0zopJz0xrbiRIdACnjrGSRH9EstcI8pDQu1Bk3BkGf4 KuAQ== |
| X-Received | by 10.52.240.205 with SMTP id wc13mr22000848vdc.87.1375131369178; Mon, 29 Jul 2013 13:56:09 -0700 (PDT) |
| Date | Mon, 29 Jul 2013 16:56:06 -0400 |
| From | Devyn Collier Johnson <devyncjohnson@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 |
| MIME-Version | 1.0 |
| To | Python Mailing List <python-list@python.org> |
| Subject | Has anyone gotten Pyglet to work |
| Content-Type | multipart/mixed; boundary="------------050504010900060204060602" |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5269.1375131377.3114.python-list@python.org> (permalink) |
| Lines | 37 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1375131377 news.xs4all.nl 15990 [2001:888:2000:d::a6]:52273 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:51495 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
I tried Pyglet in a Python3 and a Python2 script, but both fail. The
error code is below and the script is attached. The 'boot.ogg' file is
Ubuntu's default bootup sound. I got my code from this link
(http://guzalexander.com/2012/08/17/playing-a-sound-with-python.html).
collier@Nacho-Laptop:~$ ./pyglet.py
Traceback (most recent call last):
File "./pyglet.py", line 2, in <module>
import pyglet
File "/home/collier/pyglet.py", line 3, in <module>
song = pyglet.media.load('./boot.ogg')
AttributeError: 'module' object has no attribute 'media'
Mahalo,
DCJ
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Has anyone gotten Pyglet to work Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 16:56 -0400 Re: Has anyone gotten Pyglet to work Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-29 21:41 +0000
csiph-web