> On 12 Nov 2019, at 20:24, Wildman via Python-list <python-list@python.org>
> wrote:
>
> Yes, I prefer to envoke env in the shebang line instead of
> depending on the path. Paths can change especially in a
> multi-user system but env will always know where to find
> the executable.
The path to python will not change surely?
Because you are installing from a deb you know the exact path to the python you
need to use. There is no need to use the /usr/bin/env to search the path and
potential break your code, because a version of python that you do not expect
is on
the path.
Barry
--
https://mail.python.org/mailman/listinfo/python-list