I have an HTML webpage. It has a search textbox. I want to allow the user to search within a dataset. The dataset is represented by a bunch of files on my server. I wrote a python script which can make that search. Unfortunately, I'm not familiar with how can I unite the HTML page and a Python script. The task is to put a python script into the html file so, that:
- Python code will be run on the server side
- Python code can somehow take the values from the HTML page as input
- Python code can somehow put the search results to the HTML webpage as output
Question 1 : How can I do this?
Question 2 : How the python code should be stored on the website?
Question 3 : How it should take HTML values as input?
Question 4 : How can it output the results to the webpage? Do I need to install/use any additional frameworks?
Thanks!