Running Python script in Django from submit
python manage.py <your_script_name>


Here script name is ur python file .No need to mention .py extenstion.
Perhaps there is a different way of going about this problem, but I am fairly new to using Django.
I have written a custom Python script and would like to run a function or .py file when a user presses a "submit" button on the webpage.
How can I get a parameter to be passed into a Python function from a submit button using Django?