how to install python on windows


To install python on windows go to "python software download for windows" and choose the python version and download it. Most of the python applications are upgraded to python3 so, I recommend you to download the python version 3. After downloading follow the below steps to install it

  1. Go to the directory where the python software is downloaded
  2. Select the python software and double click on it and install.
  3. It will install under the directory "C:\PythonXX" (36)
  4. Now add python path to system path. To do that open cmd(command line) and enter the below code
    set PYTHONPATH=%PYTHONPATH%;C:\PythonXX;
  5. Now, open command line and enter "python", you will see the python shell interpreter.

Reference:

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

Read Next: how to install postgresql on windows

Read Prev: reading and writing csv files using python

Blog Archive