Python with Ecmascript

Phil Thompson phil at riverbankcomputing.com
Sat Jul 5 12:09:28 EDT 2008


On Sat, 5 Jul 2008 06:28:42 -0700 (PDT), "jiri.zahradil at gmail.com"
<jiri.zahradil at gmail.com> wrote:
> Hello,
> 
> for my Python application (Windows platform) to be standards
> compliant, I need to embbed Ecmascript(Javascript) interpreter - I
> need to execute plugins written in this language. Which engine is
> suitable for Python, I have found bunch of them. Any recomendations
> are welcome.
> 
> To be more specific, I think that plugins will be pretty simple, they
> will be used to manipulate my class-based datamodel, no special
> libraries dependencies ... therefore I prefer some rather simple
> solution ...

PyQt includes a Javascript interpreter. You can expose Python objects and
properties as Javascript objects and properties.

Phil




More information about the Python-list mailing list