Is there a Javascript and DOM environment like Harmony for Python?
I want to execute Javascript on the DOM elements of a fetched/generated HTML. How can I do it in Python?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Given that Harmony uses Johnson, which is a Ruby interface to Spidermonkey, and envjs, which is a pure javascript browser environment, you could probably use pyv8 (http://code.google.com/p/pyv8/) to achieve the same effect.