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


Groups > comp.lang.python > #51228

Re: Python3, GUIs, game APIs, PyGLet, 2to3...?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <kushal.kumaran@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'interpreter.': 0.07; 'python3': 0.07; '2to3': 0.09; 'executed': 0.09; 'setup.py': 0.09; 'subject:Python3': 0.09; 'python': 0.11; '64-bit,': 0.16; 'install".': 0.16; 'subject:...?': 0.16; 'url:py': 0.16; 'sender:addr:gmail.com': 0.17; 'seems': 0.21; 'command': 0.22; 'code,': 0.22; 'header:User-Agent:1': 0.23; 'errors.': 0.24; 'finally,': 0.24; "i've": 0.25; 'mention': 0.26; 'header:In-Reply- To:1': 0.27; 'tried': 0.27; 'url:code': 0.29; "i'm": 0.30; 'code': 0.31; 'directory,': 0.31; 'writes:': 0.31; 'run': 0.32; 'linux': 0.33; 'url:source': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'executing': 0.36; 'ubuntu': 0.36; 'url:org': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'files': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'skip:p 20': 0.39; 'john': 0.61; 'back': 0.62; 'happen': 0.63; 'url:p': 0.64; 'received:117': 0.78; 'message-id:@mx.google.com': 0.80
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=vhq8qGs8xxMU1CsMd6LpivcYgzr8z2IkJqJ1MO7eJmM=; b=OFmNKLs3FOxMQMUVisGafxvrIDUq9dwXSb+tnf8XvSSM3GDhOlLqNxmGv1XyFDVR9O MXf8lmvxWcQ1AhxfWHxP4U+LbnyoPPhLwTYg+9UC475itdjaVA8AEBLQ7NNIg2UhRcBc lb0R4dbQtoQVvxyRnXHHGhVgYmPvGIHto1pqYSYZU5RYsPCx3nVoKLPL2bsBVNWcnhic T6p3M2SibTUbefUKsb1SuayVxzn0jMb7tVRZ35pcRoxLDPg9N7/OwyauNoa4QqjvTQu5 270uWe2FHHb7vXxzwebZIg+SFe1ouvaZUafWAmjDc90NuJlQiz5GN+8WxYBG0kgGK4bc O1jg==
X-Received by 10.68.251.234 with SMTP id zn10mr47698052pbc.188.1374763145608; Thu, 25 Jul 2013 07:39:05 -0700 (PDT)
Sender Kushal Kumaran <kushal.kumaran@gmail.com>
From Kushal Kumaran <kushal.kumaran+python@gmail.com>
To python-list@python.org
Subject Re: Python3, GUIs, game APIs, PyGLet, 2to3...?
In-Reply-To <a548b0e1-4d48-4667-ae97-f356771140e6@googlegroups.com>
References <4ddada8b-81fd-46e7-bd5d-eeab550a9fa7@googlegroups.com> <a548b0e1-4d48-4667-ae97-f356771140e6@googlegroups.com>
User-Agent Notmuch/0.15.2+174~gb6d4402 (http://notmuchmail.org) Emacs/24.2.1 (x86_64-pc-linux-gnu)
Date Thu, 25 Jul 2013 14:05:43 +0530
MIME-Version 1.0
Content-Type text/plain
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.5103.1374763156.3114.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1374763156 news.xs4all.nl 15957 [2001:888:2000:d::a6]:50212
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51228

Show key headers only | View raw


John Ladasky <john_ladasky@sbcglobal.net> writes:

> Followup to my own post: I've made progress with PyGLet.  I should mention that I'm using Ubuntu Linux 13.04 64-bit, in case it matters.
>
> I tried executing "2to3 -w *.py" on just the files in the directory pyglet-1.2alpha1/pyglet.  I then changed back to the pyglet-1.2alpha1 directory, and executed "sudo python setup.py install".  Finally, I started my Python3 interpreter.  This time, "import pyglet" generated no errors.
>

Does your python command mean python2 or python3?  The setup.py at
https://code.google.com/p/pyglet/source/browse/setup.py seems to run
2to3 automatically, but that will only happen if you actually use
python3 to run setup.py.

> The PyGLet "Hello, World" code found on this web page runs:
>
> http://www.pyglet.org/doc/programming_guide/hello_world.html
>
> While unexplored parts of the PyGLet package may yet contain Py2-specific code, I'm definitely on my way.

-- 
regards,
kushal

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


Thread

Python3, GUIs, game APIs, PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-24 22:26 -0700
  Re: Python3, GUIs, game APIs, PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-24 23:56 -0700
    Re: Python3, GUIs, game APIs, PyGLet, 2to3...? Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2013-07-25 14:05 +0530
      Re: Python3, GUIs, game APIs, PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-25 15:26 -0700
        PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-25 16:49 -0700
          Re: PyGLet, 2to3...? Jerry Hill <malaclypse2@gmail.com> - 2013-07-26 09:39 -0400
          Re: PyGLet, 2to3...? Kushal Kumaran <kushal.kumaran+python@gmail.com> - 2013-07-26 10:22 +0530
          Re: PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-26 16:35 -0700
            Re: PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-26 18:19 -0700
              Re: PyGLet, 2to3...? John Ladasky <john_ladasky@sbcglobal.net> - 2013-07-26 21:00 -0700

csiph-web