python executable path name

Trent Mick trentm at
Sat Nov 18 23:58:16 CET 2000

On Fri, Nov 17, 2000 at 02:44:39PM +0000, Marc Pawlowsky wrote:
> Is there a method in pure python to find the full path of python itself?
> For example c:\python20\python.exe.

>>> import sys
>>> sys.executable


Trent Mick
TrentM at

More information about the Python-list mailing list