Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Basic is a high level languish. APL is a high level anguish.


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

SubjectAuthor
o Re: PythonPath / sys.pathGrizzy Adams

1
Re: PythonPath / sys.path

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: RealGriz...@vivaldi.net (Grizzy Adams)
Newsgroups: comp.lang.python
Subject: Re: PythonPath / sys.path
Date: Sun, 14 May 2023 20:00:52 +0100
Lines: 46
Message-ID: <mailman.64.1684091207.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>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
X-Trace: news.uni-berlin.de VeNyPjG19kdlHXFgQr1eXgRKJJN071gGpfR+VxI5iugw==
Return-Path: <RealGrizzlyAdams@vivaldi.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=vivaldi.net header.i=@vivaldi.net header.b=i3HNZlDh;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'jul': 0.04; 'pip': 0.04;
'variable': 0.05; 'world"': 0.05; '"hello': 0.07; '2023': 0.07;
'python.': 0.08; '3.4.10': 0.09; 'fact,': 0.09; 'idle': 0.09;
'later,': 0.09; 'moved': 0.09; 'newbie': 0.09; "shouldn't": 0.09;
'terminal': 0.09; 'though.': 0.09; 'tutorial,': 0.09; 'ubuntu':
0.09; 'import': 0.15; 'barry': 0.16; 'c++,': 0.16; 'gui,': 0.16;
'hassle,': 0.16; 'header:In-reply-to:1': 0.16; 'mats': 0.16;
'obsolete': 0.16; 'part)': 0.16; 'time)': 0.16; 'wichmann': 0.16;
'wrote:': 0.16; 'python': 0.16; 'reached': 0.17; 'to:addr:python-
list': 0.20; 'version': 0.23; '2019,': 0.23; 'anything': 0.25;
'questions,': 0.26; 'seems': 0.26; 'bit': 0.27; 'old': 0.27;
'environment': 0.29; 'asked': 0.29; 'seem': 0.31; 'saved': 0.31;
'question': 0.32; 'but': 0.32; "i'm": 0.33; 'able': 0.34; 'same':
0.34; 'running': 0.34; 'trying': 0.35; 'files': 0.36; 'year':
0.36; "it's": 0.37; 'hard': 0.37; 'could': 0.38; 'thanks': 0.38;
'least': 0.39; 'use': 0.39; 'still': 0.40; 'try': 0.40; 'come':
0.62; 'feel': 0.63; 'once': 0.63; 'ago.': 0.64; 're:': 0.64;
'thus': 0.64; 'your': 0.64; 'box': 0.65; 'daily': 0.65; 'look':
0.65; 'years': 0.65; 'worked': 0.67; 'working,': 0.69; 'took':
0.69; 'little': 0.73; 'treat': 0.76; 'business': 0.77; 'reasons':
0.84; '(first': 0.84; 'certainty': 0.84; 'good,': 0.84; 'src':
0.84
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net C6E96BD3E1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net;
s=default; t=1684091204;
bh=b0BXNc8Rs/BhUS0syhvYUz2aatrsmV/+tQ5+KE8ZuDM=;
h=From:To:Date:Subject:In-reply-to:References:From;
b=i3HNZlDhjy2RBT03oFcCP+SULV7PunWgFwDVA8ZtDC83t2b5xp84VXDjysQ6EBbph
GS6T3nXtMLcwxwnpHgth62ybG9kwt2HQsQeQs/6yks2Xz7/d9dbyFz37iMuo2xjA1O
cxakU+r71tAXeuNYk7DZr/R67N1VPQ4sBKbm11SSYi5GEZOHl6zkIl4ePPytl+Zrvj
+zVBjBqy/OxxmskVKM5vHLrNh9z6LyEUyKrMWRrA4CwGe9/PLpixevx1oOBJmvudg1
47XHpNRTiLzyAn9rptwOEaE+pGuqD9dTE25YqfdH8Y3gMTM5RZNrKdr47P+HfUWk/S
aZXsbGiB4niaw==
X-Virus-Scanned: Debian amavisd-new at smtp.vivaldi.net
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.vivaldi.net 46309BD3D9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivaldi.net;
s=default; t=1684091202;
bh=b0BXNc8Rs/BhUS0syhvYUz2aatrsmV/+tQ5+KE8ZuDM=;
h=From:To:Date:Subject:In-reply-to:References:From;
b=XVYiub7Vwa4XhIOBQypzuVFfd7dqFiZKZJThWnCCLwbd61HrQeTE367kg5+li1qRP
EcQMgsXnx0QbkxHdWDCt1Tgf+6+S5ZAVofRZ58uXNcgyZioezSfKNCILFEQeQgKMUV
qjpP8pNd55otLFquy5F1hJ/V4SgzxrJogmzYOY9BntHRRzpbH3bzlIw/y13RLpCKaE
rs+prZqSFHhXftoQy5RaHH1fES4pvlwJoY2fqEOTR2ZNwF9ZmyMQYQf/YljHToleIc
lWS3yI9DqSGKTU2hlmF7R0VLm0VILg40nnAo31LOQM1geUrc/Eh8DHJeCziwoA/2hD
ByikYqFACyB4w==
Priority: normal
In-reply-to: <eb14b158-830c-8aa1-7e07-7a823483ba25@wichmann.us>
Content-description: Mail message body
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: <64612FE4.15459.124FD5F@RealGrizzlyAdams.vivaldi.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>
 by: Grizzy Adams - Sun, 14 May 2023 19:00 UTC

Sunday, May 14, 2023 at 11:11, Mats Wichmann wrote:
Re: PythonPath / sys.path (at least in part)

>On 5/14/23 10:43, Barry wrote:

>> I take it you have business reasons to use an obsolete version python.
>> Where did you get your version of python from?

>In fact, a *nine* year old version of Python that reached end-of-life
>four years ago.

>Just sayin'

>Python version shouldn't have anything to do with the sys.path, though.

I must have slept a while

Python 3.4.10 (default, Jul 14 2019, 14:41:03) [MSC v.1600 32 bit (Intel)] on
win32

Actually I did have 3..4.3 when I asked the question (first time) because I
could only find 3.4.10 as src and did not feel I was able to compile it with
any certainty ;->)

I have since moved up (a little) so only ~4 years old, I then updated pip from
9.x to 19.1

reason its an old version is it's an old PC (XpPro), if I start to get passable

at this I will try it on my Ubuntu box which is running 22.04 (latest LTS) and
23.04, (23.10 daily builds soon) I took a look and it seems I "may" have to
play a little to get IDLE on (if it's not in the normal repo's)

I seem to have managed to sort "PythonPath / sys.path" the environment variable

is working, so I can now import my_work without any other hassle, which is
good, now I find that some of the files which worked a treat from GUI, Editor
(F5) or terminal but don't do the same once saved and imported later, I'm sure
it's me, I have come from VB/VBA, Delphi and a (very) little C++, and am still
working through the python tutorial, trying not to skip ahead (ok I did skip
"Hello World" :->) so I may end up asking some (senior moment) newbie
questions, I will try hard to work it out myself first

Thanks to all who got me thus far

Grizz

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor