Reputation: 44395
On windows 10 I have python installed and working, but not in the standard place C:\PythonXY
.
How to find out the location of the python installation?
Upvotes: 0
Views: 261
Reputation: 50630
You can do this:
>>> import sys
>>> sys.executable
C:\Python35\python.exe
Upvotes: 5
Reputation: 137182
Run where python
in a console.
See also https://stackoverflow.com/a/304447/354577
Upvotes: 3