Reputation: 3355
hi im looking for some modules for python 2.5 whitch allows to run and executes javascript ... any ideas?
Upvotes: 1
Views: 101
Reputation: 185842
This Python module allows for the implementation of Javascript? classes, objects and functions in Python, as well as the evaluation and calling of Javascript scripts and functions. It borrows heavily from Claes Jacobssen's Javascript Perl module, which in turn is based on Mozilla's PerlConnect Perl binding.
Upvotes: 0
Reputation: 881567
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?
Upvotes: 1