pyjs - a compiler from Python to JavaScript

Billy Earney billy.earney at
Wed Aug 12 15:52:33 CEST 2015


Brython on the other hand, tries to stay true to python (python
compatible).  As stated before it doesn't compile to stand alone
Javascript, but the compile time is usually minimal.  Access to Javascript
libraries is supported.  You really should give it a try..


On Tue, Aug 11, 2015 at 7:52 PM, Chris Angelico <rosuav at> wrote:

> On Wed, Aug 12, 2015 at 5:08 AM, Fabio Zadrozny <fabiofz at> wrote:
> >
> > As it's just a way to convert from a Python-like syntax to JavaScript
> syntax you can even switch to plain JavaScript later on if you want -- in
> fact, when you debug the code you'll be debugging JavaScript and not Python
> (it's like CoffeScript but with a Python-like syntax).
> >
> So, it functions with ECMAScript semantics everywhere? This is an
> important consideration. A Python integer is not the same as an
> ECMAScript number (which is a float), and a Python string is not the
> same as an ECMAScript string, and a Python dictionary has attributes
> and keys which don't collide.
> I'm more than a little tickled by the PyPyJS project:
> That's PyPy running in your web browser. The semantics are 100%
> Python, but... uhh, it does require a fairly hefty download of code
> before it can do anything. That _is_ a bit of a downside, but it's
> still a pretty cool project!
> ChrisA
> --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list