views:

54

answers:

2

hi im looking for some modules for python 2.5 whitch allows to run and executes javascript ... any ideas?

A: 

python-spidermonkey

Marcelo Cantos
yeah but only in version 0.5 ... v0.9 cant be run under win
nabizan
+1  A: 

pyv8 definitely supports Windows, but I'm not sure that it supports Python 2.5 out of the box (the pre-built binary packages definitely require Python 2.6; I think that you can build from sources with 2.5, but you might need to tweak said sources for the purpose, and I think you will also need a suitable C compiler, compatible with the one used to build your 2.5 [[mingw may help, perhaps with more tweaks]]).

If you could upgrade your Python to 2.6 that would simplify things a lot... what's keeping you blocked to 2.5?

Alex Martelli