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


Groups > comp.lang.python > #51228

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

From Kushal Kumaran <kushal.kumaran+python@gmail.com>
Subject Re: Python3, GUIs, game APIs, PyGLet, 2to3...?
References <4ddada8b-81fd-46e7-bd5d-eeab550a9fa7@googlegroups.com> <a548b0e1-4d48-4667-ae97-f356771140e6@googlegroups.com>
Date 2013-07-25 14:05 +0530
Newsgroups comp.lang.python
Message-ID <mailman.5103.1374763156.3114.python-list@python.org> (permalink)

Show all headers | 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