Forms In Django

I created the form in django. Then i started the server but it is showing the following error when I do python manage.py runserver:
C:\Users\HP\Desktop\Projects\form_playground>python manage.py runserver
‘python’ is not recognized as an internal or external command,
operable program or batch file.

It is showing error in the following line:
def addstudent(request) :
studentform = forms.StudentForm()

if request.method="POST" :
    studentform=forms.StudentForm(request.POST)
    if studentform.is_valid():
        student=studentform.save()
        return HttpResponseRedirect('/students')
context ={
    "studentform" :studentform
}
return render(request , 'addstudent.html' , context)

How to solve this error?

If the error is showing that python is not a recognized internal or external command ,then that indicates that there is something wrong with the python path .

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.