Python - Windows: How to setup?


  • Install the software.  Choose the location where the software needs to be installed.  Say for example C:\Program Files (x86)\Programs\Python\Python38-32
  • Add the above installed path to the PATH Environment variable.
  • Open a command prompt and enter “python”.
  • The installation details including the version will be displayed as in the screen above.  This confirms that the Python is installed properly in the machine.
  • To execute a python program, navigate to the working directory using cd command. 
cd C:\Test\Simple Kettle\Programs
  • Enter the command python HelloWorld.py.  That will execute the program and display the output.  Please note that HelloWorld.py is a test program.

Comments