"which python" as a python command?

Carsten Haese carsten.haese at gmail.com
Thu Sep 25 17:14:51 CEST 2008

chardish at gmail.com wrote:
> Hello,
> I'm trying to find out in a script where the location of the current
> python is.

import sys
print sys.executable


Carsten Haese

More information about the Python-list mailing list