|
From: jiri.zahradil on 5 Jul 2008 09:28 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 ... Jiri
From: Phil Thompson on 5 Jul 2008 12:09 On Sat, 5 Jul 2008 06:28:42 -0700 (PDT), "jiri.zahradil(a)gmail.com" <jiri.zahradil(a)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
From: M�ta-MCI (MVP) on 5 Jul 2008 16:57 Hi! Ecmascript (Jscript) is Active-Scripting compliant. With PyWin32, you can : - call JScript functions (with parameters) - define pieces of code (& run it) Another way, is to drive Internet-Explorer (via COM). You can set the IE-Windows as invisible, and connect the motor of execution (of JScript). Then, you can : - call JScript functions, with parameters et return ; variables, but also array (<=> lists) - connect to JScripts's objects (for read/write) - write new functions in JScript - etc. @-salutations Michel Claveau
From: Daniel Fetchinson on 5 Jul 2008 17:40 > Ecmascript (Jscript) is Active-Scripting compliant. > With PyWin32, you can : > - call JScript functions (with parameters) > - define pieces of code (& run it) > > Another way, is to drive Internet-Explorer (via COM). You can set the > IE-Windows as invisible, and connect the motor of execution (of > JScript). Then, you can : > - call JScript functions, with parameters et return ; variables, but > also array (<=> lists) > - connect to JScripts's objects (for read/write) > - write new functions in JScript > - etc. Is there a way to do similar things on linux? Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown
From: Tim Roberts on 6 Jul 2008 01:02 "jiri.zahradil(a)gmail.com" <jiri.zahradil(a)gmail.com> wrote: > >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. What standard are you hoping to comply with? I mean, what kind of a program is this? -- Tim Roberts, timr(a)probo.com Providenza & Boekelheide, Inc.
|
Next
|
Last
Pages: 1 2 3 Prev: Margins in the Tkinter Text widget Next: conflict between multiple installs of python (linux) |