By adding the path to the Python executable, you will be able to access python.exe by typing the python keyword (you won’t need to specify the full path to the program).Ĭonsider what happens if we enter the python command in the command prompt and the path to that executable is not added to the Path variable: C:\>python The Path variable lists the directories that will be searched for executables when you type a command in the command prompt. If you’ve installed Python in Windows using the default installation options, the path to the Python executable wasn’t added to the Windows Path variable.
0 Comments
Leave a Reply. |