Reputation: 44265
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: 246
Reputation: 50540
You can do this:
>>> import sys
>>> sys.executable
C:\Python35\python.exe
Upvotes: 5
Reputation: 136880
Run where python
in a console.
See also https://stackoverflow.com/a/304447/354577
Upvotes: 3