python executable path name

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


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

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