开发者

Python 2.5 module allowing implementation of javascript under windows

hi im 开发者_C百科looking for some modules for python 2.5 whitch allows to run and executes javascript ... any ideas?


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?


python-spidermonkey

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜