[Python-ideas] windows dispatcher exe for python

Dj Gilcrease digitalxero at gmail.com
Sun Mar 6 14:39:53 CET 2011


On Sun, Mar 6, 2011 at 8:10 AM, Mark Hammond <mhammond at skippinet.com.au> wrote:
>> Something I have been thinking about recently though is outside the
>> scope of the pep is writing a python.exe, to replace the python.bat,
>> that would  try to read the shebang line of the file to send it to the
>> right version of python. Then I just associate py files with the
>> dispatcher exe and everything should work as intended.
>
> But where would such a python.exe live and how would that directory end up
> on the PATH?

System32  or C:\Program Files\Python (that exists regardless of the
choses install location)

I like the latter but the installer would need to add that to the PATH
if it wasnt already there

>
> On the more general idea though, it could have legs as it would solve the
> file association issue for files which include the shebang and arrange for
> the status-quo (or better) for files which don't...
>
> But this sounds like a different PEP ;)

Yes absolutely a different pep so I split this to python-ideas



More information about the Python-ideas mailing list