Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The unrecognized minister of propaganda, E -- seen in an email from Ean Schuessler


devel / comp.lang.python / Re: Problem with python

SubjectAuthor
o Re: Problem with pythondn

1
Re: Problem with python

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: PythonL...@DancesWithMice.info (dn)
Newsgroups: comp.lang.python
Subject: Re: Problem with python
Date: Sun, 5 Sep 2021 06:41:33 +1200
Organization: DWM
Lines: 26
Message-ID: <mailman.617.1630781362.4164.python-list@python.org>
References: <CA+FnnTwxA+-cm--ff-KD-gv91G5_TFi18OM=tfmzM1cHR05=sA@mail.gmail.com>
<66abcd73-b5eb-8646-a107-fcd673c2f3fb@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de zaqieCnOOoML2UbDnzNTnQlREIc4M2oBsayq0ZYiQddA==
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=nz2UynHR; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:python': 0.06;
'linux': 0.07; '=dn': 0.09; 'aug': 0.09;
'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist':
0.09; 'import': 0.14; '>>>>': 0.16; 'message-
id:@DancesWithMice.info': 0.16; 'print(': 0.16; 'python3': 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; 'syntaxerror:': 0.16; 'wrote:':
0.16; 'syntax': 0.16; 'python': 0.16; 'all,': 0.19; 'to:addr
:python-list': 0.23; 'this?': 0.28; 'header:User-Agent:1': 0.31;
'header:Organization:1': 0.31; 'received:192.168.1': 0.31; '"",':
0.32; 'header:In-Reply-To:1': 0.33; 'fix': 0.35; 'invalid': 0.35;
'received:192.168': 0.37; 'way': 0.37; 'file': 0.38; 'hi,': 0.39;
'remember': 0.61; 'received:userid': 0.64; 'received:51': 0.77;
'became': 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=-6.8 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 7649E34B4
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1630780904;
bh=FNstt1k2X1xPPWTqt3uLpIK5DPq0jFFeeS1/PgEySfk=;
h=Subject:To:References:From:Date:In-Reply-To:From;
b=nz2UynHRllHQfg03fF/DRE/fi9opE5nGdkHikMI/zno51/arg+/NOeTIyS3sosW5u
aCCI5Ys80y3A5GN52fOmH3AMDLVlkackBrsbvkrrd4wEC6gQfu9boMjKY+Jd2ufuqn
11Zj8yOCUusacY1EcGQbo5taWRGJJZzP+w7rR5Kn8a6EKkLfn155naFzOqX+EJcVvJ
2cQaVxh3zosX2wbHoh2ELsTht+yIo7e1wsuyZdqzUf94zrlxnc7LQ4Auwif/B7ArMA
MQYBDHO4NKDXCxtsxkTz6CTU7PtzEAjVGVlsJn1ejEryZm1kfoRegYgVhfzS1jF3aZ
dGwrBGtfdRZqA==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.13.0
In-Reply-To: <CA+FnnTwxA+-cm--ff-KD-gv91G5_TFi18OM=tfmzM1cHR05=sA@mail.gmail.com>
Content-Language: en-GB
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
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: <66abcd73-b5eb-8646-a107-fcd673c2f3fb@DancesWithMice.info>
X-Mailman-Original-References: <CA+FnnTwxA+-cm--ff-KD-gv91G5_TFi18OM=tfmzM1cHR05=sA@mail.gmail.com>
 by: dn - Sat, 4 Sep 2021 18:41 UTC

On 05/09/2021 06.27, Igor Korot wrote:
> Hi, ALL,
>
> [code]
> igor@WaylandGnome ~/bakefile $ python
> Python 3.9.6 (default, Aug 8 2021, 17:26:32)
> [GCC 10.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from distutils import sysconfig
>>>> print sysconfig.get_python_inc()
> File "<stdin>", line 1
> print sysconfig.get_python_inc()
> ^
> SyntaxError: invalid syntax
>>>>
> [/code]
>
> What is the proper way to fix this?

Remember that in Python3 print became a function:

print( sysconfig.get_python_inc() )

--
Regards,
=dn

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor