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

Kushal Kumaran kushal.kumaran+python at
Thu Jul 25 10:35:43 CEST 2013

John Ladasky <john_ladasky at> 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 install".  Finally, I started my Python3 interpreter.  This time, "import pyglet" generated no errors.

Does your python command mean python2 or python3?  The at seems to run
2to3 automatically, but that will only happen if you actually use
python3 to run

> The PyGLet "Hello, World" code found on this web page runs:
> While unexplored parts of the PyGLet package may yet contain Py2-specific code, I'm definitely on my way.


More information about the Python-list mailing list