How to use the Python program to JS, or JS call Python

There is a written with Python API file, test.py, now wants to end in the webpage with JS calls, how to realize the?
(1)What method can convert Python to JS code
(2)Or how to embed Python code in HTML?

Started by Eve at November 09, 2016 - 6:25 PM

Not done similar project under the world
Personally feel that the JS asynchronous request Apache to write a python implementation steps should be.

Posted by Jackson at November 20, 2016 - 7:20 PM

Py is run on the server, you use the Ajax call should be

Posted by Blake at November 29, 2016 - 7:32 PM