If you want add Python to your PATH or you need to reference it in some other way, here’s how you can locate it.
Fortunately, Python’s sys
module has the value of the executable (e.g. the python.exe
) stored, so you can run this command to get it:
[sc name=”src” url=”https://stackoverflow.com/questions/6767283/find-where-python-is-installed-if-it-isnt-default-dir” ]
Be First to Comment