On 7/11/2022 6:51 am, jak wrote:
Il 06/11/2022 11:03, Chris Green ha scritto:
I have a number of python scripts that I run on a mix of systems. I
have updated them all to run on python 3 but many will also run quite
happily with python 2. They all have a #!/usr/bin/python3 shebang.
This works
A possible solution is here.
https://superuser.com/questions/815323/can-i-have-a-conditional-shebang
From: Python-list on
behalf of jak
Sent: Sunday, November 6, 2022 2:51:10 PM
To: python-list@python.org
Subject: Re: How to manage python shebang on mixed sy
On 06Nov2022 20:51, jak wrote:
Il 06/11/2022 11:03, Chris Green ha scritto:
I have a number of python scripts that I run on a mix of systems. I
have updated them all to run on python 3 but many will also run quite
happily with python 2. They all have a #!/usr/bin/python3 shebang.
I usually
rbowman wrote:
> On Sun, 6 Nov 2022 10:03:50 +, Chris Green wrote:
>
>
> > Is there a neat way of handling this? I could write a sort of wrapper
> > script to run via the shebang but that seems overkill to me.
>
> Can you symlink?
Not really, since the system where there's no python3 is o
Il 06/11/2022 11:03, Chris Green ha scritto:
I have a number of python scripts that I run on a mix of systems. I
have updated them all to run on python 3 but many will also run quite
happily with python 2. They all have a #!/usr/bin/python3 shebang.
This works almost everywhere but there is on
Hello, Its probably a priority of avalauation in the chain of operators ans
association of themselves. I'm not sure. Philippe.
De : "BlindAnagram"
A : python-list@python.org
Envoyé: dimanche 6 Novembre 2022 00:57
Objet : Re: comprehension parsing
On 05/11/2022 22:11, MRAB wrote: > On 2022-11