On 11/16/2014 12:54 AM, Pierre Quentel wrote:
Hi,
Version 3.0.0 of Brython has been released recently
Brython is an implementation of Python 3 running in the browser, with an
interface to DOM elements and events. It allows writing web client applications
with Python instead of Javascript.
Python programs are inserted in the HTML page inside tags <script
type="text/python">. The code is translated into Javascript on the fly and
executed, without any pre-compilation step.
Brython is *real* Python, supporting most of the Python syntax including
comprehensions, generators, descriptors, classes with multiple inheritance,
metaclasses etc. Dozens of modules from the Python standard distribution are
included unmodified in the Brython distribution.
I just recently started experimenting with Brython to create WebGL apps. I've
done straight OpenGL via Python for *years* and wanted to leverage that
knowledge and code for WebGL without getting any deeper into Javascript than
necessary.
I'm happy to report that Brython worked perfectly, seamlessly providing Python
calls to (the JavaScript API) WebGL. Amazingly well done!
Gary Herron
--
Dr. Gary Herron
Department of Computer Science
DigiPen Institute of Technology
(425) 895-4418
--
https://mail.python.org/mailman/listinfo/python-list