On Sat, Nov 4, 2017, at 10:29, Wolfgang wrote: > For example the user specified python3 but I know it will be compatible > with python4 so the launcher can do something like > python3 is not found then I use python4 if available. > > ex.: > > #!/usr/bin/env py -3
If you actually try that, you'll find out the dirty little secret of the #! functionality - on many systems, it only supports one argument. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/