idk how to do it, and i am new to django and python, i want to do this simple think but cant figure out the right way or technology

i basically want is a django form in which user enter the data and then that data passes through a python script

and also that form should have stop button which on click will forcestop the script gong on

idk how to achieve this functionality, should it be will js or multithreading or what
i dont know js well, so plz provide alternatives

What makes you think this is “simple”?

What sort of “python script” are you talking about?

It would be helpful if you provided more specific details about what you’re working with and are trying to accomplish here.