Python path on windows

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Feb 21 07:36:14 EST 2015


On 21/02/2015 11:05, Gisle Vanem wrote:
> Dave Angel wrote:
>
>> Finally, when py.exe starts, it reads that first (shebang) line, and
>> decides which python interpreter to actually use.
>
> py.exe? Do you mean python.exe?
>

py.exe or pyw.exe come with the Python launcher on Windows and work out 
which version of the interpreter to use.

https://www.python.org/dev/peps/pep-0397/
https://docs.python.org/3/using/windows.html#python-launcher-for-windows

I think it was first installed with Python 3.3.  It's available here 
https://bitbucket.org/vinay.sajip/pylauncher if you're on an older version.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list