title: how to import data from HTML Button from a server
body: <p>I am working on a project where I need to import data from My website i.e when someone clicks a button then a string should be generated and I should import that string to a python script running on windows on a client-side. For this purpose Ive used Flask-Python but the problem is that In flask we need to create a template folder in the project folder where the python script is saved.
  but in my scenario, I need to run python script on windows and the template folder should be placed on the website page as I need to run HTML file on the webserver and import data from that file. I am facing this problem for a long time please someone help me.</p>