Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Logic is a pretty flower that smells bad.


devel / comp.lang.python / Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

SubjectAuthor
o Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3Michael Torrie

1
Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

<mailman.38.1703290914.2892.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24675&group=comp.lang.python#24675

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: torr...@gmail.com (Michael Torrie)
Newsgroups: comp.lang.python
Subject: Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3
doesn't work any more
Date: Fri, 22 Dec 2023 17:21:50 -0700
Lines: 12
Message-ID: <mailman.38.1703290914.2892.python-list@python.org>
References: <f53edfe0-d67b-45a8-8604-a3d89734af58@web.de>
<24204D60-E530-4766-9A5F-1211CB9A0882@barrys-emacs.org>
<ca5e802a-e1d2-4253-a330-d107ae5c8c58@web.de>
<ff5d4243-2ab0-4c1c-adda-423a366c16c6@tompassin.net>
<3b8cb379-aa4b-ffab-7073-4b43b6bfb00d@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de bNwHVgvDodHF7D/x/Y6OvgZ1oKuAQpDk3LZit00BCvwQ==
Cancel-Lock: sha1:YeTJqSFcx3kWZWTFx3VNIAoXdQI= sha256:RkAYQfAHNRA8VCLF3+3CzgBYdB5WlfHkaCeGpBmrNQk=
Return-Path: <torriem@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=ZTwTQGNt;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.074
X-Spam-Evidence: '*H*': 0.85; '*S*': 0.00; 'subject:Windows': 0.07;
'explorer,': 0.09; 'received:mail-ot1-x335.google.com': 0.09;
'subject:Python': 0.12; 'subject:usr': 0.16; 'wrote:': 0.16;
'python': 0.16; 'message-id:@gmail.com': 0.18; 'to:addr:python-
list': 0.20; 'version': 0.23; 'install': 0.23; 'command': 0.23;
'normally': 0.26; 'header:User-Agent:1': 0.30; 'context': 0.32;
'half': 0.32; 'python-list': 0.32; 'there': 0.33; 'path': 0.33;
'script': 0.33; 'windows': 0.34; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'running': 0.34;
'from:addr:gmail.com': 0.35; 'missing': 0.37; 'directory': 0.37;
'received:192.168': 0.37; 'way': 0.38; 'neither': 0.39; 'should':
0.40; 'here.': 0.61; 'worked': 0.67; 'drop': 0.69; 'chance': 0.71;
'location.': 0.84; 'subject: \n ': 0.84; 'subject:bin': 0.84;
'subject:more': 0.95
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1703290912; x=1703895712; darn=python.org;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:from:to:cc:subject:date:message-id:reply-to;
bh=KvaNn2WaBr3+PT1vspCTzWf5MzZyrF/uhsRswHeD/1A=;
b=ZTwTQGNt6QWdGcTgJTyKtPiIzAdV1049uucHQFwJZUUbnNkQ8l0gn7RSri8rWSX0/3
fcY/oqPsfYmc6xG1Mh7a8OkaPFc79MhT7xqx2skq6LXjEhy/6U5Q2ckPCwxz/ru9DbC9
xgxcQdSje+jHOrzEnN8gFYkMQ7b4zpFqKX+ywG5vuQWgkYdXG6uL+qOPPk31W26hnyLX
oMQtKjfIf5Db2LiMhsmHCSIC/InHeRgOc3i6yloE07j6AopdK8HVZ45cO+gg5j8lbIO3
2mw6ayejqVbG0R5+k2Q8gB2yDHXN9RhhKlaqDfnsqcJOsdnWqh2Bwx7TvBlLad7GYvK+
issw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1703290912; x=1703895712;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=KvaNn2WaBr3+PT1vspCTzWf5MzZyrF/uhsRswHeD/1A=;
b=CQAsxkYkWL8qP21pm5nSFj6cys0MuAMStr6ldz1qObevYSGeZfMU6/3AW5i67h8JZt
xSxRu7+cBjxsrprt401NPq/nBiswvoiqRTTb8zjAjLzSY1MIYrolmGcgDOcKQymZugfC
Gd3Yo5dWGnHqRWGwUfETzm8jnVaOuOQkB2pNKgaD98DTqodpLgJ+olNJOh3R7BJ2nZYx
MsYBqX4LxQ8d/ZyWlXSuCajwvxQx4bNnPd9tkirAL2kf+vxLq6QWxs9zOSd/6+3Gldbf
QWxZSxN78Hyy+DmaE0lvEKEkHjqq/Tb6UD/vI/WBb5Stzst/VotvLmQEYS31o7dC/HNs
FhYQ==
X-Gm-Message-State: AOJu0Yz/tWJ2rOBP8wJtAFfjpnAD6gklPNBXIfP1VCu3d3AV7KRrSFHy
RiIhQ0mWM+1g8/6T8YTnr3QCgxwRR5g=
X-Google-Smtp-Source: AGHT+IFevYi7U4nsEKwNODXhmHRIA19Lfg8xB5JgajMYlHEw6h+xSdiMi1cwrAUeU92p5o+3tCx3RA==
X-Received: by 2002:a05:6830:18da:b0:6db:c7fa:f4f1 with SMTP id
v26-20020a05683018da00b006dbc7faf4f1mr1348189ote.18.1703290912170;
Fri, 22 Dec 2023 16:21:52 -0800 (PST)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Content-Language: en-US
In-Reply-To: <ff5d4243-2ab0-4c1c-adda-423a366c16c6@tompassin.net>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <3b8cb379-aa4b-ffab-7073-4b43b6bfb00d@gmail.com>
X-Mailman-Original-References: <f53edfe0-d67b-45a8-8604-a3d89734af58@web.de>
<24204D60-E530-4766-9A5F-1211CB9A0882@barrys-emacs.org>
<ca5e802a-e1d2-4253-a330-d107ae5c8c58@web.de>
<ff5d4243-2ab0-4c1c-adda-423a366c16c6@tompassin.net>
 by: Michael Torrie - Sat, 23 Dec 2023 00:21 UTC

On 12/22/23 11:42, Thomas Passin via Python-list wrote:
> There is some important context that is missing here. Python on Windows
> does not normally install to that location. That is not even a Windows
> path, neither by directory name nor by path separators.

No, that's just the way the py launcher on Windows has always worked in
the past. This way you can take a script from a nix system and drop it
in Windows and it has half a chance of running through the launcher,
from Windows explorer, or by running py myscript.py at the command
propmpt. The Py launcher essentially ignores (or used to ignore) the
path in the shebang and focuses on what version of Python it should fire
up.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor