•   about 6 years ago

Invoking a Python Script from JS

The standard way to do this would be to use a Python framework like Flask (it's super easy to set up!) and embed your HTML/JS into it.

But if you want to invoke a server-side Python script from JS, you could try https://github.com/fergalwalsh/pico/wiki/Example-1:-Hello-World . I haven't used this, but it seems promising? :)


Comments are closed.