Lets say I've written a simple html page with a form. The form has 3 input fields that a user fills and presses the submit button. Is it possible to take the values of the 3 input fields from html, use something like ajax in jquery and execute a python script whilst sending those form values to that script as variables?
Everywhere I read about this subject the guides always return the html code in the python script using Flask. Issue is I already have html and all I need is for this form to trigger a python script and just let the user know after pressing the button that the script has been executed. I really would hate to think I need to write my markup in python again!
Is something like this possible?