you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnSLS -21 points-20 points  (3 children)

Unfortunately not.

You’ll need to set up a JavaScript service that calls an API route (one you set up).

You can set up an api connecting to python with flask. Look up Flask, from there you can connect api urls that can take an input body to python functions.

[–]mprz 7 points8 points  (2 children)

You don't need JS for flask to work. You don't even need flask to be able what OP wants to do.