DS301222 # How to Install Python and set path variables

Intalling Python

  1. Open a browser to the** Python website **and download the Windows installer.
  2. Double click on the downloaded file and install Python for all users,and ensure that Python is added to your path. Click on Install now to begin.
  3. After the installation is complete, click Disable path length limit and then Close. Disabling the path length limit means we can use more than 260 characters in a file path.
  4. Click Close to end the installation

Set Path Variables

  1. Right-clicking This PC and going to Properties.
  2. Clicking on the Advanced system settings in the menu on the left.
  3. Clicking on the Environment Variables button o​n the bottom right.
  4. In the System variables section, selecting the Path variable and clicking on Edit. The next screen will show all the directories that are currently a part of the PATH variable.
  5. Clicking on New and entering Python’s install directory.

Python can now be used directly from the command prompt


Nice explanation, keep the pace up :relaxed:.