On Mon, Mar 23, 2020 at 05:59:41PM -0000, Fr??d??ric De Jaeger 
<fdejae...@novaquark.com> wrote:
> The issue is:  There is no reliable way to launch a python script.
> 
> The command:
> 
>      python myscript.py
> 
> launches python3 on windows and python2 on 99% of the unix market.

Create and activate a virtual environment (``virtualenv`` or
``python -m venv``) and always use ``python myscript.py``.

Oleg.
-- 
    Oleg Broytman            https://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/PIF65YSJPF5RECKWYGPT7YFQTYK33NBE/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to