Den fredagen den 27:e december 2013 kl. 07:14:35 UTC+1 skrev Pierre Quentel:
> 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

I am not sure i understand the concept correct it is not serverside, i have to 
install the libraries on my local computer, and it is accessible via 
javascript, not on its own in browsers?

In the future will it always be a library that has to be downloaded and 
installed?

Could in not be implemented like an activeX plugin as flashplayer, when you 
come to a Brython side you have a message to download plugin?

If i understand correct, now one can implement Brython script in JAVASCRIPT 
invoked HTML on a server, but it will not work for people surfing the web 
because the browsers lack support for Brython libraries?

Is Brython thought to be a webapplication or can it read/write to files?
So what is its future?

1. A standard incorporated and implemented by browsers?
2. A plugin like flashplayer?
3. A standalone library to be downloaded and installed on the local computer to 
run python scripts one make?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to