Here we’ll see how we can set python path in windows.
First, download/install python from its official website. Run it and see whether it is working or not.
Now open command prompt and type python and see if it is recognizable by internal and external command if not then do these things.
Open environment variables.
Now click on environment variables.
Now click on edit. As you can see here python path is already added. But you have to add it by editing it.
Now edit it and click ok.
Then again open command prompt and type python.
This is how you can set the python path in windows.