Python3, GUIs, game APIs, PyGLet, 2to3...?
John Ladasky
john_ladasky at sbcglobal.net
Thu Jul 25 02:56:19 EDT 2013
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.
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.
More information about the Python-list
mailing list