Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Life's the same, except for the shoes. -- The Cars


devel / comp.lang.python / Re: How to set environmental variables for Python

SubjectAuthor
o Re: How to set environmental variables for Pythondn

1
Re: How to set environmental variables for Python

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: PythonList@DancesWithMice.info (dn)
Newsgroups: comp.lang.python
Subject: Re: How to set environmental variables for Python
Date: Mon, 17 Jan 2022 23:55:48 +1300
Organization: DWM
Lines: 14
Message-ID: <mailman.196.1642416970.3079.python-list@python.org>
References: <CA+i5Jwac2H0cso9F1ABYbm5dTok=nXxHAkZcKjdQE80YfXsT-Q@mail.gmail.com>
<051b2f4c-068b-f807-d163-c0595486587c@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de Yiu0nxUKQ+lrhW2n5SJIggRS3IDeoLMu3yKLEg2dBCBA==
Return-Path: <PythonList@DancesWithMice.info>
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=danceswithmice.info header.i=@danceswithmice.info
header.b=Youa4Ex5; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.014
X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; '=dn': 0.09;
'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist':
0.09; 'subject:Python': 0.12; 'machine.': 0.16; 'message-
id:@DancesWithMice.info': 0.16; 'received:51.254': 0.16;
'received:51.254.211': 0.16; 'received:51.254.211.219': 0.16;
'received:cloud': 0.16; 'received:rangi.cloud': 0.16; 'url:os':
0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20;
'version': 0.23; 'subject:How': 0.23; 'python,': 0.25; 'header
:User-Agent:1': 0.30; 'header:Organization:1': 0.31;
'subject:for': 0.33; 'header:In-Reply-To:1': 0.34;
'received:192.168': 0.37; 'quite': 0.39; 'received:51': 0.64;
'received:userid': 0.66; 'url:%0': 0.67; 'url:%20': 0.71; 'shi':
0.84; 'subject:skip:e 10': 0.84; 'url:windows': 0.84
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on vps517507.ovh.net
X-Spam-Level:
X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00,
DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A autolearn=ham
autolearn_force=no version=3.4.0
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.rangi.cloud 58D6E3E32
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1642416959;
bh=yZD3fkAJG6HXdmSo/dLgJzia1No6V/qiN3F/kEPHugM=;
h=Date:Subject:To:References:From:In-Reply-To:From;
b=Youa4Ex5NtxoG9DUUT6l89YkLOg/qiXeNxgyWe5jMakr119a/futoFd66aQcygDSZ
mNCCovFZwI2CtPZZRNHDlcw2zDbnlENWnuinkA0eP6myTcl/eDdmSl+ZcKGB7OUD2n
Pc/o2jNt8GAeDROD/bKEuKKtlA9G1T1IvEQp52MTP85bYcwauledtyrbHjrOivSkJt
FXO6rNv3IzE9pQjB6zhjYzaHQzKpy8lWSNqGFn10VK7lD9dm9albrGZsL5JFAzTKgE
Qy7Q8SnEGSgmbFP2i8EMgqTTYgJY0XLpyunyDP9/ow+GFykM+YkdqrE/oIbAdjLRwc
VyEAybspMe4iQ==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <CA+i5Jwac2H0cso9F1ABYbm5dTok=nXxHAkZcKjdQE80YfXsT-Q@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: <051b2f4c-068b-f807-d163-c0595486587c@DancesWithMice.info>
X-Mailman-Original-References: <CA+i5Jwac2H0cso9F1ABYbm5dTok=nXxHAkZcKjdQE80YfXsT-Q@mail.gmail.com>
 by: dn - Mon, 17 Jan 2022 10:55 UTC

On 17/01/2022 22.31, Shaozhong SHI wrote:
> I got quite a few version of Python on my machine.
>
> How do I set environmental variables for Python 3.6.1 to work?

Set from Python, or set in the OpSys?

https://docs.python.org/3/library/os.html?highlight=environment%20variable

MS-Win: https://docs.python.org/3/using/windows.html#setting-envvars
--
Regards,
=dn


devel / comp.lang.python / Re: How to set environmental variables for Python

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor