How to execute Javascript from Python on Windows?
<p>how can I execute Javascript from Python on Windows?</p>

<p>I want to get python-spidermonkey functionality. Just like this:</p>

<pre><code>&gt;&gt;&gt; class Foo:
...   def hello(self):
...     print "Hello, Javascript world!"
&gt;&gt;&gt; cx.bind_class(Foo, bind_constructor=True)
&gt;&gt;&gt; cx.eval_script("var f = new Foo(); f.hello();")
Hello, Javascript world!
</code></pre>

<p><b>I can't use python-spidermonkey, because it doesn't work in <a href="http://stackoverflow.com/questions/1727157/how-to-install-python-spidermonkey-on-windows">windows</a></b></p>
