Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

There is no royal road to geometry. -- Euclid


devel / comp.lang.python / Re: About Python Compressed Archive or Binaries

SubjectAuthor
o Re: About Python Compressed Archive or BinariesSina Mobasheri

1
Re: About Python Compressed Archive or Binaries

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!aioe.org!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: sinamoba...@outlook.com (Sina Mobasheri)
Newsgroups: comp.lang.python
Subject: Re: About Python Compressed Archive or Binaries
Date: Mon, 17 Jan 2022 19:11:01 +0000
Lines: 37
Message-ID: <mailman.209.1642446663.3079.python-list@python.org>
References: <AS8PR06MB7592DE921AD954FD71909931AD579@AS8PR06MB7592.eurprd06.prod.outlook.com>
<dfdb9924-ae2c-c62a-8902-585adc9ab571@yandex.ru>
<AS8PR06MB7592DCBC894DA9C692EA9B34AD579@AS8PR06MB7592.eurprd06.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
X-Trace: news.uni-berlin.de JyaEk+8gl5EIWMNgIcjamgC6yzcr+cazKNMoTVspyuHg==
Return-Path: <sinamobasheri@outlook.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=outlook.com header.i=@outlook.com header.b=n8+zsefr;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '17,': 0.04; '(for': 0.05;
'2022': 0.05; 'binaries': 0.09; 'compressed': 0.09; 'installer':
0.09; 'linux': 0.09; 'subject:Python': 0.12; '&gt;': 0.14;
'url:mailman': 0.15; '-&gt;': 0.16; 'c++': 0.16; 'executable':
0.16; 'interpreter': 0.16; 'issue?': 0.16; 'modifies': 0.16;
'node': 0.16; 'option.': 0.16; 'procedure': 0.16; 'stdlib': 0.16;
'wrote:': 0.16; 'python': 0.16; 'it?': 0.19; 'to:addr:python-
list': 0.20; 'option': 0.20; 'downloading': 0.22; 'to:name:python-
list@python.org': 0.24; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'url-
ip:188.166/16': 0.25; 'zip': 0.26; 'email addr:python.org&gt;':
0.28; 'example,': 0.28; 'environment': 0.29; 'url-ip:188/8': 0.31;
'think': 0.32; 'question': 0.32; 'python-list': 0.32; 'users.':
0.32; 'but': 0.32; "i'm": 0.33; 'path': 0.33; 'windows': 0.34;
'same': 0.34; 'mean': 0.34; 'header:In-Reply-To:1': 0.34; 'yes,':
0.35; 'fix': 0.36; "it's": 0.37; 'directory': 0.37; 'skip:_ 30':
0.37; 'file': 0.38; 'put': 0.38; 'use': 0.39; 'wants': 0.40;
'both': 0.40; 'something': 0.40; 'from:': 0.62; 'to:': 0.62;
'simply': 0.63; 'copy': 0.63; 'offering': 0.64; 'pack': 0.64;
're:': 0.64; 'subject:About': 0.64; 'box': 0.65; 'technical':
0.67; 'exactly': 0.68; 'january': 0.71; 'from:addr:outlook.com':
0.73; 'sent:': 0.78; 'political': 0.84; 'email name:&lt;python-
list': 0.84; 'received:40.92.69': 0.84;
'received:eur02-ve1-obe.outbound.protection.outlook.com': 0.84
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=h1Qlewm2vnWVo0rnthjDBDk9eKF3Ik+8m5x5nTKolIDabyYyTdjEW63i5v2XMpHQBL8bWePadaQKvcv54NIwNvJnKmlR0q9uvaKYl1x35RWzXKOlXwG4bkWlIjEytm/x/sURL0Dg18W5HAx8NHzBU1z56WnK9JPn7/njNUTUGlSQfAt8ctsKsI6b+gI0wy6+fleuJweBb17LDnUMRZSMSQAze3TQ/7DYJcYiFWgKzn0nd3YLje2au95b5fYrS/6pHn2DkrDlKPtW/5d+aLwYZzYG2FJGXNWKPQgOmyqvWS7YIlTxqCQW70zizKXa1FVsRh36H6q8rbJ3erNC6ry98w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=45SP3nTjINdcVC10DJj58cyl6dYBFOu9m/itJQSmdm4=;
b=hMQsd4GAsCLRzQSfJX8ffIxOrKdSRNI4jQEyj1Oo+e5qBhxEAn4zHESz92E3HRQPLpeQraqctlrnzBgyGPUiOKOG4OrZttBEaM5IRAm5AdbaXTMt2aOpm4FulDtP3cTaVt+kF5/VZfsXk3JLZnfQO4rF61UVpQFUtv/CvPMvQ22LejRcfWhUUZATEegBamJQs/Jft5Jlv31ByjpXXwEkQK/3gc09HRi+il/DM2QAhqQm39O3gQx60yPJNrBLPTXPm3XausbOG5Q6/9xZFxIHYCQ/BG2gSowq9fV4zZGQnoNICvR+5hyaw/La0G1mCRXDZT0drW7Qr+TzAqrvg7krug==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com;
s=selector1;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=45SP3nTjINdcVC10DJj58cyl6dYBFOu9m/itJQSmdm4=;
b=n8+zsefrlXH4snaVnEAElIe0SDcyy46DFB0wJuhGjc8vbo3sOmPfxrVg15tDyUnt+y2eXSD1XTkuEn8CzbLVL4A7MMOpdtL9+gj1esbzXl0D94hiRI5FALt/K23keDNOEnOGc149OC36jZJrDI4HlM045E/Xdnd85/9vgz8hDsiBMPAc/ei2dUKnS/2T05e6nHfiJ/9ZVEyGNGoLwx69/qyfvjUhrI7WaLDNkEZ7q2r8lO1LPz9EdH7R661v1itwB+JicRQL9pV4bMbPPNTnnL2TKnnw+Ppcy+rS6ch4YvPiBPDY0efcpQLyKRL9tYwRbgN0YBILJrH34AcTQJRfMg==
Thread-Topic: About Python Compressed Archive or Binaries
Thread-Index: AQHYC7gWsGWDvKgwC0C6XucE07S1RKxnfcgAgAAWmtQ=
In-Reply-To: <dfdb9924-ae2c-c62a-8902-585adc9ab571@yandex.ru>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tmn: [suurlv5/kekNnwOOUpMbdQaG4FzFjhhH]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 98f59b79-27ba-433b-32f4-08d9d9ed1a14
x-ms-traffictypediagnostic: AM0PR06MB4996:EE_
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Jsx+RS6uwQMl7iBZ2AmaWAh+KCelU72RfaQMiAXDEZKmOuWtnkLw4/PmLhZDIzlwuS9csdJbRcxwJfwAaMv+BPHp4dr1cCi9oXQnOYEebzpXseBreYSp8nzCxcP8yfwdyY11d9uPw9ZoWnRoOIPXutlGtJhgb3DiRM5h/XNnHL9Vg3Ko+z5c7Fk5JQ4u1PbjC8fr/4hLkIcz5yutKdh6PyrCaYCGV/DP+N+HEcEUJBY0gtxXIRdwd+5iG+AZMJ/sbc0urKHcrSbpj/wTdLhQuxnQWzcUZUxZZWHG0ibH1bzjIAYIYdwx09YCM3ykxHKlvC9j8UEEZIvZrSMICUwF8S3xc24L+hBz4Qs+4CcKukwlR8kl3/OrMneFabtdmqUqULa8GG4VHeI/ZbFYfgrn19T4SgmdPPWwAomxFMUsHDYiy1WziJrf2m/qyXWVox75X39o+ZfhhyrPBl1X5lrg+xSRethuckr/quFuE0ORP9n1sndxPCty+ZjW5XhRJcTnWIkyGR7mxB8ZsAdLdzQ0+7iKmWDSl/TtqkWU30wqab0dc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l/9fdQmp76I72cGUk2HiLmAT+Ul6
VYh3xsrBYVy+FAJYkWemK1t3Nv8OFEEQrhMQbtuzf2Tpe
ivTmMjlkT3CEA=
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS8PR06MB7592.eurprd06.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 98f59b79-27ba-433b-32f4-08d9d9ed1a14
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jan 2022 19:11:01.7175 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR06MB4996
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <AS8PR06MB7592DCBC894DA9C692EA9B34AD579@AS8PR06MB7592.eurprd06.prod.outlook.com>
X-Mailman-Original-References: <AS8PR06MB7592DE921AD954FD71909931AD579@AS8PR06MB7592.eurprd06.prod.outlook.com>
<dfdb9924-ae2c-c62a-8902-585adc9ab571@yandex.ru>
 by: Sina Mobasheri - Mon, 17 Jan 2022 19:11 UTC

That's exactly what I mean thank you 👌🏻🚀
________________________________
From: Python-list <python-list-bounces+sinamobasheri=outlook.com@python.org> on behalf of Kirill Ratkin <kvratkin@yandex.ru>
Sent: Monday, January 17, 2022 9:19:44 PM
To: python-list@python.org <python-list@python.org>
Subject: Re: About Python Compressed Archive or Binaries
Hi,
Yes, this is good question for Windows users.
Of course, you can download installer exe-file -> do installation ->
pack directory with python interpreter to zip (for example, or 7z) ->
copy archive file to another place/computer and unpack.
But it will not work out of box because original installer modifies
resources in MZ file and path to stdlib is there.
So just to use interpreter from that archive file you need to open
python.exe file and fix it (in any binary/hex editor).
This simple procedure but ... anyway ... I agree with Sina.
It would be nice to have just zip file with python interpreter (not
executable installer), unpack it anywhere, add path to this 'anywhere'
to PATH, and use it.
Java/DotNet/Go have this option. But python - not.
And question is - why?

On 1/17/22 18:37, Sina Mobasheri wrote:
> Java offers download JDK as Compressed Archive or NodeJS offers download Node as Binaries both give us a compressed file for Linux and windows that we can just unzipped it and put in a custom directory and set some environment variables and start working
>
>
> I'm aware that Python also have something called Embedded Zip for Windows and nothing like that for Linux as far as I know, and I think this Embedded Zip is not something that the user wants to work with that directly it's for embedding in a C++ application, so it's not the same as options that Java and NodeJS offering
>
>
> My question is why is Python haven't an option for downloading as Compressed Archive?
> Is it's due to a technical issue? political reasons? or is it just simply because nobody has thought of doing it?
>
--
https://mail.python.org/mailman/listinfo/python-list

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor