How to Add Python to the Path Variable on Windows 10
If you want to run Python scripts on the command prompt, you’ll need to type the full Python installation path every time. To avoid this, you can add the Python installation directly to your Windows PATH variable.
The PATH variable is an environment variable that specifies a list of directories where executables can be found. If your executable—in this case, Python—can be found in one of the directories listed in your PATH environment variable, then you can call it directly without having to reference the full path.
Windows 10 PC | × | 1 |
Howchoo is reader-supported. As an Amazon Associate, we may earn a small affiliate commission at no cost to you when you buy through our links.