About Lesson
Add Python to the Path variable.
The PATH environment variable needs to be set to start the Python interpreter from any directory. Note that Windows is not case-sensitive. So, the Path variable can be used or referred to as PATH or Path in Windows.
Single Windows Prompt Session
Follow the below steps to add the Python directory to the PATH variable for a particular session in Windows.
Launch the Command Prompt.
Assume the Python directory: C:Python
Type the following command:
/> PATH = %PATH%;C:Python
Press the Enter button. This will append the Python directory to the existing Path variable.
To check the variable, type the following command:
/> echo %PATH%