"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

HTH,

--
Carsten Haese
http://informixdb.sourceforge.net



More information about the Python-list mailing list