"which python" as a python command?

Carsten Haese carsten.haese at gmail.com
Thu Sep 25 11:14:51 EDT 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