Curriculum
In this tutorial, you will learn how to add python to the path variable in your Windows PC.
Before we get into the core topic, let us understand what a path variable is and what does it do?
The path variable contains a list of directories. In turn, the directory holds an executable file for a command.
For instance, when you enter the word Python in the command prompt searches the path variable and returns you with the version and the installed date. But if you haven’t installed the Python IDLE it returns you with an error message that states that the specified command was not recognized.
So now, you have a basic understanding of what a path variable is.
Note: You can give any name to the variable.
Tip:
Open your command prompt and enter the command Python. You can see the version number and other details in the resulting line.