Course Content
Selenium Python First Script
Selenium Python First Script
0/2
HTML Form elements
HTML Form elements
0/1
Handle HTML Frames
Handle HTML Frames
0/2
Handling Dropdown Lists
Handling Dropdown Lists
0/2
Selenium Action class
Selenium Action class
0/1
Selenium Python for Beginners [ 2024 ]
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%

Join the conversation