3
I would like to know how I do to know from which source I am running the Python
.
For example, if I installed Python 3.5 on my machine and created a Virtualenv, how could I know, through Python itself, the origin of the execution of that binary?
For example, if I perform Python
, to know the complete path of the executable, as /usr/bin/python
, for example.
In the specific case, I don’t want anything related to Virtual Env, but to know by Python the binary origin path.