Executing Javascript, then reading value

Jean-Paul Calderone exarkun at divmod.com
Mon Jan 29 16:04:56 EST 2007


On 29 Jan 2007 12:44:07 -0800, Melih Onvural <melih.onvural at gmail.com> wrote:
>I need to execute some javascript and then read the value as part of a
>program that I am writing. I am currently doing something like this:

Python doesn't include a JavaScript runtime.  You might look into the
stand-alone Spidermonkey runtime.  However, it lacks the DOM APIs, so
it may not be able to run the JavaScript you are interested in running.
There are a couple other JavaScript runtimes available, at least.  If
Spidermonkey is not suitable, you might look into one of them.

Jean-Paul



More information about the Python-list mailing list