I have a python function that creates a .txt file with an output / results and saves it in my project directory. Now i have a html js files where i take that data from the .txt file and i use it and display the data.
Now my problem is, i want to have a button that executes the python script and creates fresh data depending on a variable.
Is there an easy way to do it.
I am quite new to programming web applications.