Eryk Sun <eryk...@gmail.com> added the comment:

You can use "#!python", or "#!/usr/bin/python", or "#!/usr/local/bin/python". 
They're all equivalent, and they do not search PATH. Since no wanted version is 
specified, the launcher will look for a version to run in the following order: 
an active virtual environment, a configured PY_PYTHON version, the highest 
registered version of 2.x, and the highest registered version of 3.x.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46002>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to