python executable path name

Carl Bray cbray at
Fri Nov 17 16:12:50 CET 2000

>>> import sys
>>> sys.exec_prefix
'c:\\Program Files\\Python'

"Marc Pawlowsky" <marc.pawlowsky at> wrote in message
news:rvbR5.148821$UO.542304 at
> 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.

More information about the Python-list mailing list