Intalling Python
- Open a browser to the** Python website **and download the Windows installer.
- 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.
- 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.
- Click Close to end the installation
Set Path Variables
- Right-clicking This PC and going to Properties.
- Clicking on the Advanced system settings in the menu on the left.
- Clicking on the Environment Variables button on the bottom right.
- 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.
- Clicking on New and entering Python’s install directory.
Python can now be used directly from the command prompt