Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62808
| Date | 2013-12-27 17:12 +0100 |
|---|---|
| From | Johannes Schneider <johannes.schneider@galileo-press.de> |
| Subject | Re: Brython (Python in the browser) |
| References | <234a1a8d-e491-4eec-8bd5-7931cf4f74ec@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4670.1388161804.18130.python-list@python.org> (permalink) |
On 27.12.2013 07:14, Pierre Quentel wrote: > Hi, > > Ever wanted to use Python instead of Javascript for web client programming ? Take a look at Brython, an implementation of Python 3 in the browser, with an interface with DOM elements and events > > Its use is very simple : > - load the Javascript library brython.js : <script src="/path/to/brython.js"> > - embed Python code inside a tag <script type="text/python"> > - run the Python script on page load : <body onload="brython()"> > > The Python code is translated into Javascript and executed on the fly > > Brython supports the DOM API, HTML5, SVG, with some syntaxic sugar to make the interface more concise (a la jQuery) ; interaction with Javascript libraries is very straightforward. The Brython site provides documentation and many examples > > After 1 year of intense development, Brython now covers most of the Python3 syntax and can run most of the modules of the Python3.3 standard distribution unmodified, including complex packages like unittest. The team aims at covering 100% of all of Python that makes sense in a browser environment > > Home page : http://www.brython.info > Development site : https://bitbucket.org/olemis/brython/src > Downloads : https://bitbucket.org/olemis/brython/downloads > Community : https://groups.google.com/forum/?fromgroups=#!forum/brython > that's amazing. is there any python construct which is not usable with brython? OR, the oder way around, anything possible in JS, which does not work in brython? bg, Johannes -- Johannes Schneider Webentwicklung johannes.schneider@galileo-press.de Tel.: +49.228.42150.xxx Galileo Press GmbH Rheinwerkallee 4 - 53227 Bonn - Germany Tel.: +49.228.42.150.0 (Zentrale) .77 (Fax) http://www.galileo-press.de/ Geschäftsführer: Tomas Wehren, Ralf Kaulisch, Rainer Kaltenecker HRB 8363 Amtsgericht Bonn
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Brython (Python in the browser) Pierre Quentel <pierre.quentel@gmail.com> - 2013-12-26 22:14 -0800
Re: Brython (Python in the browser) Roy Smith <roy@panix.com> - 2013-12-27 09:37 -0500
Re: Brython (Python in the browser) jonas.thornvall@gmail.com - 2013-12-27 06:56 -0800
Re: Brython (Python in the browser) Pierre Quentel <pierre.quentel@gmail.com> - 2013-12-27 09:54 -0800
Re: Brython (Python in the browser) Johannes Schneider <johannes.schneider@galileo-press.de> - 2013-12-27 17:12 +0100
Re: Brython (Python in the browser) Pierre Quentel <pierre.quentel@gmail.com> - 2013-12-27 10:01 -0800
Re: Brython (Python in the browser) billy.earney@gmail.com - 2013-12-27 11:02 -0800
csiph-web