Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Any given program will expand to fill available memory.


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

SubjectAuthor
o Re: Problem with pythonTerry Reedy

1
Re: Problem with python

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: tjreedy@udel.edu (Terry Reedy)
Newsgroups: comp.lang.python
Subject: Re: Problem with python
Date: Sat, 4 Sep 2021 15:22:17 -0400
Lines: 28
Message-ID: <mailman.630.1630809319.4164.python-list@python.org>
References: <CA+FnnTwxA+-cm--ff-KD-gv91G5_TFi18OM=tfmzM1cHR05=sA@mail.gmail.com>
<sh0h1a$1061$1@ciao.gmane.io>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 3aMaIQjPddIWvQNm05iqpwHfYPDmcd3M2a4Oeu8dy2yQ==
Return-Path: <python-python-list@m.gmane-mx.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:python': 0.06;
'linux': 0.07; 'modules': 0.07; 'aug': 0.09; 'message-
id:@ciao.gmane.io': 0.09; 'received:ciao.gmane.io': 0.09;
'received:gmane.io': 0.09; 'received:list': 0.09; 'terry': 0.09;
'import': 0.14; '>>>>': 0.16; 'deprecated,': 0.16;
'from:addr:udel.edu': 0.16; 'instead.': 0.16; 'received:116.202':
0.16; 'received:116.202.254': 0.16; 'received:116.202.254.214':
0.16; 'setuptools': 0.16; 'syntaxerror:': 0.16; 'wrote:': 0.16;
'syntax': 0.16; 'python': 0.16; 'all,': 0.19; 'pm,': 0.20;
'to:addr:python-list': 0.23; '>>>': 0.26; 'header:User-Agent:1':
0.31; 'suggestions': 0.31; '"",': 0.32; 'needed.': 0.32; 'header
:In-Reply-To:1': 0.33; 'invalid': 0.35; 'file': 0.38; 'use': 0.38;
'hi,': 0.39; 'received:116': 0.71
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; 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-US
X-Mailman-Approved-At: Sat, 04 Sep 2021 22:35:18 -0400
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: <sh0h1a$1061$1@ciao.gmane.io>
X-Mailman-Original-References: <CA+FnnTwxA+-cm--ff-KD-gv91G5_TFi18OM=tfmzM1cHR05=sA@mail.gmail.com>
 by: Terry Reedy - Sat, 4 Sep 2021 19:22 UTC

On 9/4/2021 2:27 PM, 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

In 3.10, distutils and d.sysconfig are deprecated, with suggestions to
use setuptools or sysconfig modules instead.

>>>> print sysconfig.get_python_inc()
> File "<stdin>", line 1
> print sysconfig.get_python_inc()
> ^
> SyntaxError: invalid syntax

In interactive mode, print is not usually needed.

>>> sysconfig.get_python_inc()
'C:\\Programs\\Python310\\include'

--
Terry Jan Reedy


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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor