Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A year spent in artificial intelligence is enough to make one believe in God.


devel / comp.lang.python / Re: PythonPath / sys.path

SubjectAuthor
o Re: PythonPath / sys.pathThomas Passin

1
Re: PythonPath / sys.path

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: lis...@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: PythonPath / sys.path
Date: Mon, 15 May 2023 00:26:47 -0400
Lines: 30
Message-ID: <mailman.71.1684125399.13552.python-list@python.org>
References: <645F69AC.14631.33F7F4@RealGrizzlyAdams.vivaldi.net>
<12B1206B-7773-4870-B3CC-93126AEEFC70@barrys-emacs.org>
<eb14b158-830c-8aa1-7e07-7a823483ba25@wichmann.us>
<64612FE4.15459.124FD5F@RealGrizzlyAdams.vivaldi.net>
<61608167-dd66-485c-33ee-f2c4292354bf@tompassin.net>
<CAPTjJmrj6SPXH_6Pu3Yb3niRkiY1UjriGr-2_1DGNH_RLxmWiQ@mail.gmail.com>
<cb7cbc30-ad41-3592-4be2-86b3faf48959@tompassin.net>
<CAPTjJmpxYdM9iJ9YhaMDtgPT473zNGSYKdNesncM4PGJtEWp-w@mail.gmail.com>
<a8e04096-0370-4a90-dd93-2c2545f9f667@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de GlAM3qg/plNiZU0h/MRXCAn5j469s4TnPeVsRT3HvSng==
Return-Path: <list1@tompassin.net>
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=tompassin.net header.i=@tompassin.net header.b=03YGtOV+;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.007
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '2023': 0.07; 'that?':
0.07; 'angelico': 0.09; 'anyway,': 0.09; 'grep': 0.09; 'idle':
0.09; 'linux': 0.09; 'pip.': 0.09; 'received:23.83.212': 0.09;
'received:elm.relay.mailchannels.net': 0.09; 'repository.': 0.09;
'scroll': 0.09; 'search,': 0.09; '"sudo': 0.16; 'idle,': 0.16;
'personally,': 0.16; 'received:10.0.0': 0.16; 'received:64.90':
0.16; 'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
'received:dreamhost.com': 0.16; 'wrote:': 0.16; 'python': 0.16;
'probably': 0.17; 'pm,': 0.19; 'to:addr:python-list': 0.20;
"i've": 0.22; 'install': 0.23; 'command': 0.23; 'installed': 0.23;
'lines': 0.23; "isn't": 0.27; 'chris': 0.28; 'example,': 0.28;
'it,': 0.29; 'header:User-Agent:1': 0.30; 'program': 0.31;
'think': 0.32; "doesn't": 0.32; 'assume': 0.32; 'guess': 0.32;
'realize': 0.32; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'right,': 0.32; 'but':
0.32; "i'm": 0.33; 'there': 0.33; 'mean': 0.34; 'package': 0.34;
'header:In-Reply-To:1': 0.34; 'trying': 0.35; 'understood': 0.35;
'yes,': 0.35; 'mon,': 0.36; 'missing': 0.37; "it's": 0.37; 'hard':
0.37; 'way': 0.38; 'could': 0.38; 'use': 0.39; 'something': 0.40;
'search': 0.61; "there's": 0.61; 'ever': 0.63; 'everything': 0.63;
'experience': 0.64; 'came': 0.65; 'header:Received:6': 0.67;
'received:64': 0.67; 'that,': 0.67; 'right': 0.68; 'manager':
0.68; 'interested': 0.68; 'obvious': 0.69; 'pieces': 0.70; 'easy':
0.74; 'hundreds': 0.75; 'name,': 0.75; 'discover': 0.80; 'dozen':
0.84; 'realize.': 0.84; 'manager.': 0.93
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1684124808; a=rsa-sha256;
cv=none;
b=6rLoyKz1OmJu/XxH0Kl9qbfIqne768pRWUXLQ/8OPHVy4nFnkmT2+Y69hIxMzFZeqK0jTv
oF81o+aRu8XbzsQtbbmE8PqMaOSxsfUma0/FLpoxv6mN43B9vwS1tcCr42/7hBzTWkIiCO
KNdMGP2wGVjPXtJaY41xftdY5WS+BIEF6KFyQ7TQnp5GHX0Ls1ZvLqKz2I6KXnfPi2S8vn
px1lpgmrd8wwWgbBogChQkS7UjL/g77hVK3LdbL89d9xBc4FO8OOvvE/zlBGv82mhRXr8E
u6y4gkKeHRSaq1UQARiFrvKF1h06oC3eqqdnngSUf0w9vEoSpyoJslGZoYHyNA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1684124808;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references:dkim-signature;
bh=lwIa+6F3sMszQ6xvHj69Fs4dHRj6KrFO7aXQpS/Ydl0=;
b=gs79g5TC9yiGzHGlIcIJqKcZVEx/KoggxQ91N75E1IQy3K43703Pf3915bsmANqbmtfUI3
uuDnu+lhU4yiS8RrlzXs8mOxQcCcmf0uZqxYmzuLsdjbbycGmjpFf3CKMSS5/LM/AOn71Z
5zH130hiV5tYjvrB0Pp+RHyEY96B4pEmxPVZ0ALwKQVNdWt/SdK4TDC+1apAF1MRXUYr5w
+20VqChsKlC3u7y1lebBICtNRaan+LEogHatbKFvLtE3cULlDkbN1j47hfN5OfBHCCQbpE
Ia1TmDtAhMJPPiHbm7c6XNrVasvqY1mUVTfCRgRAHHkQ1MSt1bxTm4oHeYZMgA==
ARC-Authentication-Results: i=1; rspamd-79bb5575d7-x6kmm;
auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-Wiry-Bored: 6182397867e74cc7_1684124808666_4026072512
X-MC-Loop-Signature: 1684124808666:14900678
X-MC-Ingress-Time: 1684124808666
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1684124808;
bh=lwIa+6F3sMszQ6xvHj69Fs4dHRj6KrFO7aXQpS/Ydl0=;
h=Date:From:Subject:To:Content-Type:Content-Transfer-Encoding;
b=03YGtOV+7cR5mLYstQWy0cSgczENLhqTHYuADp4ATGJ/NeeTj8pI8H8reaRcR8wT4
9i+E3cH+cFK8QZQalKbNVLbRM1Jo/51th0YDCfEibyz8/lMmdzO07UYcBpvOCMv8MF
YJ8Asx9Bf5PJIASncjZ9g2pge1AXvZSQclVipdp/CVbudYosT2FZzjGuDWGbgEHQkz
acPZbjwT6sfxFeAMDtzjxmyATMZ7Vcp5XTS2TaCauCTQh0KMc1kVnPHniOZZ0fNbPJ
BH9XY6fbqV2SuH1Q50wf6Pay8pcW0Jixs8zrrngVIb0Jjm1XZB+Vy8mB5eH8xHdMxq
pklqN4GQWxYZA==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Content-Language: en-US
In-Reply-To: <CAPTjJmpxYdM9iJ9YhaMDtgPT473zNGSYKdNesncM4PGJtEWp-w@mail.gmail.com>
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: <a8e04096-0370-4a90-dd93-2c2545f9f667@tompassin.net>
X-Mailman-Original-References: <645F69AC.14631.33F7F4@RealGrizzlyAdams.vivaldi.net>
<12B1206B-7773-4870-B3CC-93126AEEFC70@barrys-emacs.org>
<eb14b158-830c-8aa1-7e07-7a823483ba25@wichmann.us>
<64612FE4.15459.124FD5F@RealGrizzlyAdams.vivaldi.net>
<61608167-dd66-485c-33ee-f2c4292354bf@tompassin.net>
<CAPTjJmrj6SPXH_6Pu3Yb3niRkiY1UjriGr-2_1DGNH_RLxmWiQ@mail.gmail.com>
<cb7cbc30-ad41-3592-4be2-86b3faf48959@tompassin.net>
<CAPTjJmpxYdM9iJ9YhaMDtgPT473zNGSYKdNesncM4PGJtEWp-w@mail.gmail.com>
 by: Thomas Passin - Mon, 15 May 2023 04:26 UTC

On 5/14/2023 11:08 PM, Chris Angelico wrote:
> On Mon, 15 May 2023 at 12:07, Thomas Passin <list1@tompassin.net> wrote:
>> Well, no, why would you assume that? I started to use Linux - in VMs -
>> because I had to make sure that my cross-platform java/jython Tomcat
>> program would work right on Linux. Why, for example, would I think to
>> install Idle from the package manager when it, or things like that, were
>> always in my experience installed with pip? For that matter, "sudo
>> apt-get install pip" won't install pip. You need to use a different
>> name, and it may or may not be different for different distros.
>
> If you EVER had to install something other than a Python package, you
> would have had to make use of the system package manager. You're
> right, there are multiple obvious ways to install Idle, but that
> doesn't mean that the package manager isn't one of them.

Yes, after a while I came to realize that missing Python pieces might be
available from the package manager. That doesn't mean it's obvious, or
easy to discover just what names to use. And sometimes one has to add a
new external repository. Personally, I don't find it easy to scroll
through hundreds of lines in the synaptics search results looking for
something whose name I can only partly guess at. If I know the command
line equivalent for a search, I could do a grep and that would probably
be more focused. But trying to work with a dozen different distros
because various clients might use them - it's hard to keep details straight.

Anyway, there's no point in trying to convince me that I could have
understood everything at the start that I may have learned later. I'm
just interested in passing on things I've learned along that way that a
newcomer to Python in Linux may not realize.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor