python executable path name

James C. Ahlstrom jim at
Mon Nov 20 14:36:43 CET 2000

Marc Pawlowsky wrote:
> Is there a method in pure python to find the full path of python itself?
> For example c:\python20\python.exe.
> Thanks for the help.

import sys
print sys.executable


More information about the Python-list mailing list