How to install python on windows

How to install python on windows

Steps to install python on windows

  • Go to the directory where the python software is downloaded
  • Select the python software and double click on it and install.
  • It will install under the directory "C:\PythonXX" (36)
  • Now add python path to system path. To do that open cmd(command line) and enter the below code

    set PYTHONPATH=%PYTHONPATH%;C:\PythonXX;
    
  • Note: Replace XX with specific python version number like 3.8

  • Now, open command line and enter "python", you will see the python shell interpreter.

Refefrence:

  1. https://docs.python.org/3/using/windows.html