This would be really great for scripting stuff and development purpose.Execute arbitrary JavaScript code from Python. Allows you to reference arbitrary Python objects and functions in the JavaScript VM
Requirements:
* Python
* nspr (Netscape Portable Runtime) - already included in seamonkey | seamonkey-libs
* xulrunner - optional
Download - latest release is from 2009You can optionally build the extension linked to your system's spidermonkey library, which is installed with XULRunner.
http://pypi.python.org/pypi/python-spidermonkey/
See down at the end of the page for Installation and examples:
http://github.com/davisp/python-spidermonkey#readme