Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51216

Re: PyGLet on Python 3

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.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.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'importing': 0.05; 'interpreter': 0.05; 'subject:Python': 0.06; 'attribute': 0.07; 'problem?': 0.07; "system's": 0.09; 'python': 0.11; 'bug': 0.12; 'clark': 0.16; 'distutils,': 0.16; 'imports': 0.16; 'pygame': 0.16; 'python3.': 0.16; 'statements,': 0.16; 'wraps': 0.16; 'followed': 0.16; 'wrote:': 0.18; 'module': 0.19; 'packages.': 0.19; 'work,': 0.20; 'command': 0.22; '>>>': 0.22; 'import': 0.22; 'previously': 0.22; 'print': 0.22; 'header:User-Agent:1': 0.23; 'phd': 0.24; "i've": 0.25; 'suggested': 0.26; 'header:In-Reply- To:1': 0.27; 'installed': 0.27; 'skip:p 30': 0.29; 'am,': 0.29; 'url:code': 0.29; 'work.': 0.31; 'received:10.0.0': 0.31; '"",': 0.31; 'apparently': 0.31; 'anyone': 0.31; 'file': 0.32; 'compatible': 0.32; 'front': 0.32; 'thanks!': 0.32; 'run': 0.32; 'linux': 0.33; '(most': 0.33; '"the': 0.34; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'version': 0.36; 'url:downloads': 0.36; 'done': 0.36; 'thanks': 0.36; 'received:10.0': 0.36; 'throughout': 0.37; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'recent': 0.39; 'does': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'university': 0.39; 'major': 0.40; 'release': 0.40; 'even': 0.60; 'skip:u 10': 0.60; 'john': 0.61; 'url:p': 0.64; 'hang': 0.67; 'college': 0.70; 'visiting': 0.79
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:references :in-reply-to:content-type:content-transfer-encoding; bh=LdEB2ODi8McqSA7ty79FOnG6qapUB7UixWLeRwuotuA=; b=uWxQlaYd3xiPOh6MUPtIbOM6TunNDVPhbiOh+Ft8nTJNm04Rtg6ffjvYYuhQ4ty2ed TzhaEd0EjgbkqYSz7yVRE+dBZNhzg1G0527R3ALajyjJaP5j1LbZegczxq03B5/v//zW Bho5sqathzXksJjbOf7cNWo+TwCnForR7TuHyNyPJ1kCSHHczvaT0LDhZZIr1rm7yj7h r0ucRUPbXGEGup0ouGy382efMjlKNJobrKbyL5AiC7QovVV+LDUUPlm/SMZfU5+u3qfi 3O9V/zNqFjxnhVTOMGJofzLPImdfDiCeDuMsHuPknCI97ygT2AbRYPpGDbe0D+PcTYEW PWCw==
X-Received by 10.50.126.74 with SMTP id mw10mr340866igb.20.1374759351659; Thu, 25 Jul 2013 06:35:51 -0700 (PDT)
Date Thu, 25 Jul 2013 09:35:47 -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 Re: PyGLet on Python 3
References <0b359a38-4f8a-49c4-95f1-778865ce894a@googlegroups.com> <mailman.4970.1374462719.3114.python-list@python.org> <8c55a89b-b4dc-4542-bb64-a0afa07f9b6e@googlegroups.com>
In-Reply-To <8c55a89b-b4dc-4542-bb64-a0afa07f9b6e@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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.5093.1374759355.3114.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374759355 news.xs4all.nl 15906 [2001:888:2000:d::a6]:39525
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51216

Show key headers only | View raw


On 07/23/2013 02:24 AM, John Ladasky wrote:
> On 07/21/2013 08:10 PM, Joseph Clark wrote:
>> John, have you taken a look at pyglet?  It's an alternative to pygame and I found it pretty slick once I got the hang of it.  There is a development version that's compatible with python 3 and I've never had a bug with it.  It wraps OpenGL itself so there are no additional dependencies.
>>
>>
>> // joseph w. clark , phd , visiting research associate
>> \\ university of nebraska at omaha - college of IS&T
>>   
> Hi Joe,
>
> Thanks for the PyGLet recommendation.  I like OpenGL.  Unfortunately, I can't seem to get PyGLet to work, even though the pyglet.org front page claims that "the major 1.2alpha1 release brings pyglet to Python 3."
>
> I followed the links to this page:
>
> https://code.google.com/p/pyglet/downloads/list?q=1.2alpha1
>
> I installed pyglet on my Linux system's Python 3.3 using distutils, as I have done with many other packages.  But I can't run test.py, nor can I even get as far as importing pyglet from my Python 3.3 interpreter command line.  The obstacle is apparently Python 2.x-style print statements, which are found throughout tests.py and pyglet/__init__.py.
>
> Does anyone know an efficient way around this problem?  Thanks!
I cannot get Pyglet to work. I successfully installed the module and it 
imports successfully, but a previously suggested command does not work. 
I use Python3.

 >>> 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'

Mahalo,

DCJ

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Homework help requested (not what you think!) John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-16 15:43 -0700
  Re: Homework help requested (not what you think!) David Hutto <dwightdhutto@gmail.com> - 2013-07-16 19:51 -0400
  Re: Homework help requested (not what you think!) Joel Goldstick <joel.goldstick@gmail.com> - 2013-07-16 20:53 -0400
  Re: Homework help requested (not what you think!) Chris Angelico <rosuav@gmail.com> - 2013-07-17 10:40 +1000
    Re: Homework help requested (not what you think!) albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-07-18 12:47 +0000
      Re: Homework help requested (not what you think!) Gene Heskett <gheskett@wdtv.com> - 2013-07-18 09:38 -0400
  Re: Homework help requested (not what you think!) Chris Angelico <rosuav@gmail.com> - 2013-07-17 11:34 +1000
  Re: Homework help requested (not what you think!) alex23 <wuwei23@gmail.com> - 2013-07-17 16:35 +1000
    Re: Homework help requested (not what you think!) PythonAB <python@rgbaz.eu> - 2013-07-17 10:31 +0200
  Re: Homework help requested (not what you think!) Steven D'Aprano <steve@pearwood.info> - 2013-07-17 06:51 +0000
  Re: Homework help requested (not what you think!) Joshua Landau <joshua@landau.ws> - 2013-07-17 09:33 +0100
  Re: Homework help requested (not what you think!) Neil Cerutti <neilc@norwich.edu> - 2013-07-17 13:20 +0000
    Re: Homework help requested (not what you think!) Chris Angelico <rosuav@gmail.com> - 2013-07-17 23:29 +1000
      Re: Homework help requested (not what you think!) Neil Cerutti <neilc@norwich.edu> - 2013-07-17 13:55 +0000
        Re: Homework help requested (not what you think!) Chris Angelico <rosuav@gmail.com> - 2013-07-18 00:05 +1000
      Re: Homework help requested (not what you think!) alex23 <wuwei23@gmail.com> - 2013-07-18 12:09 +1000
  Re: Homework help requested (not what you think!) Aseem Bansal <asmbansal2@gmail.com> - 2013-07-17 21:57 -0700
  Re: Homework help requested (not what you think!) Beth McNany <beth.mcnany@gmail.com> - 2013-07-17 18:03 -0400
  RE: Homework help requested (not what you think!) Joseph Clark <joeclark77@hotmail.com> - 2013-07-18 08:46 -0700
  Homework help requested, thanks to everyone. John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-21 13:49 -0700
    Re: Homework help requested, thanks to everyone. Chris Angelico <rosuav@gmail.com> - 2013-07-22 10:25 +1000
      Re: Homework help requested, thanks to everyone. Roy Smith <roy@panix.com> - 2013-07-21 20:57 -0400
    RE: Homework help requested, thanks to everyone. Joseph Clark <joeclark77@hotmail.com> - 2013-07-21 20:10 -0700
      PyGLet on Python 3 John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-22 23:24 -0700
        Re: PyGLet on Python 3 Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-25 09:35 -0400
          Re: PyGLet on Python 3 John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-25 15:27 -0700
    Re: Homework help requested, thanks to everyone. Skip Montanaro <skip@pobox.com> - 2013-07-22 12:01 -0500
    Re: Homework help requested, thanks to everyone. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-07-22 19:39 -0400

csiph-web