How can I integrate Python and JavaScript?
How about pyjs? From the above website: pyjs is a Rich Internet Application (RIA) Development Platform for both Web and Desktop. With pyjs you can write your JavaScript-powered web applications entirely in Python.