How to run python script in django? [closed]

I have a python script which does web scraping and takes the input from the user for product name and then it displays the result. I want this same thing to be done on a webpage. Like user enters the input on webpage and result is displayed on webpage only (currently it is being displayed in python terminal)

I tried doing django implementation but not able to do. Can I use streamlit library for this? If yes pls expand it steps how can I connect it to my existing webpage of website.

Back to Top