Possible Duplicate:
Getting python.exe path at run time
I have a python app that launches other apps with explicit calls to C:\python25\python.exe, but this doesn't work if the user has 2.6 installed or if they have it installed to another location. There is a %PYTHON% variable for the exe, but this is only available to the user who installed Python (other users don't have this envvar set).
Is there another way to look up this location?