Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Measure twice, cut once.


devel / comp.lang.python / Re: Pycharm IDE

SubjectAuthor
* Pycharm IDEKevin M. Wilson
`* Re: Pycharm IDEaapost
 +- Re: Pycharm IDEKevin M. Wilson
 +- Re: Pycharm IDEKevin M. Wilson
 +- Re: Pycharm IDEdn
 +- Re: Pycharm IDEdn
 `* Re: Pycharm IDEThomas Passin
  `* Re: Pycharm IDEMark Bourne
   +- Re: Pycharm IDEThomas Passin
   +- Re: Pycharm IDEdn
   `- Re: Pycharm IDEThomas Passin

1
Pycharm IDE

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: kevinmwilson1956@yahoo.com (Kevin M. Wilson)
Newsgroups: comp.lang.python
Subject: Pycharm IDE
Date: Tue, 18 Apr 2023 23:18:57 +0000 (UTC)
Lines: 16
Message-ID: <mailman.118.1681859944.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de Mb7oRhiNvT+b6ymv8aMX9gT3XJJfULimqIGp+2pY12Aw==
Return-Path: <kevinmwilson1956@yahoo.com>
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=yahoo.com header.i=@yahoo.com header.b=kRS17qJM;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.088
X-Spam-Evidence: '*H*': 0.84; '*S*': 0.02; 'url:webmail': 0.05;
'line:': 0.09; 'received:66.163.187': 0.09; 'help,': 0.14; 'ide,':
0.16; 'received:66.163.187.147': 0.16;
'received:sonic316-21.consmr.mail.ne1.yahoo.com': 0.16; 'to:addr
:python-list': 0.20; 'to:name:python-list@python.org': 0.24; 'url
:sig-email': 0.27; 'thinking': 0.28; 'url:link': 0.30;
'received:66': 0.35; 'received:66.163': 0.39;
'received:consmr.mail.ne1.yahoo.com': 0.39; 'setting': 0.39;
'between': 0.63; 'pass': 0.64; 'url:png': 0.66; 'url:net': 0.68;
'url:email-signature': 0.69; 'you.': 0.71; '"when': 0.84; 'you:':
0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1681859941; bh=QsI9lGTVyfbUJtrqJ7i7BhDcbQCfaUrKrtH9OznwxeU=;
h=Date:From:To:Subject:References:From:Subject:Reply-To;
b=kRS17qJM18FP+h9w4yvcZ9jeZx0WpRaBYrFCSSXWrX08GOH9K0Ktg3X7Klt9CshKBUeTXIEcOyONj352ndo9kn7NzzgYBTpi99UA7l4PoaxfQYHCyrcAyfYU/1nDt/ev/n9X8mvJd6rcnSCVWGMiLfMIumYYU4c3Wji6xPe/V8EG0+9GJL/bBROyUwHU5DNH2O4hynOa1ZYOiAupNrU/EyiDW2cgRjcqRf4l5B9jIDIlebIs3t/+LfxWBjd6ynXWvM5JrUu+KqtrZRJ1QJoOfmQuAt7k0W8ROajVU6AIYEU12LLeLztYnx4uzFjDETKnDSE1z9T3I9paMjrJ1RxCQQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1681859941; bh=XoYYOeDeU+k4EDQ08J2C5vs2gNfMG9wQGV3FNqcInSe=;
h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
b=DYwRKwPhqVEanB/RSREQaqwpegFl55y1hyTqatKm7iLk0fkPEZLzcryavfs8Zcr7rq4djnepjbgyfdG7vFlnkukXBmzZJCaOlsI7HFMsXCHOU6IaHS6U2cZJ2ZycxIY9ueDw+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xzLQfocrgB9CYI.Blt0mGTRrhukvxzh5l1sArsGSWi2qg3RNWKIEHyL4M8lDJ1Djz7BfvuSGawM
otqAajdlf_QzGxEEXBlSo6VkmdB67GjnQu_gkZ5RfuA5I7fMOJgnWtON4y9bivhzfdbAKf.ZlWIn
ON_tIi_g81iZSQHo3jOqGZhx_yaOCymyQHXx3Xtmk.NUMM3LhaA6O_pKxGUi44Fqp1JxFpH_ejgT
r.ujwxLhig7PEF7Z7x8z0F.gGyeqPeyJCg302phmPECcBVLTLAAe3WFXmRetfqHb3I57vpmVtdUV
D4B_9_wtXX_1QMJEPF9ngfzV0qcCA1VQ7jmk0xCOIGirk.7wyxLaHiE6GuRu9fz784gkD2rc8nrg
766dm4aVDRaNVXiMnfeEgl43jvxvsib3ckV52fjfLhwCZileocMAqFwPCp82IJg.ThkiceX7YDKs
aGs0ka1U.JSKXBp7NE.F1Gt5TRdtG29Pj4yV0C6Ocu4R00N7Zhv9jt6cJ.zq57QQICVlYMDq7m08
QZ3JBrwmrojUNui.T.yqduXUV5JPDC1S2ri5jv8cv6FDpqg_JZrIzbvTRVj.ExfsFn3v4MezRbFh
Yp4eyDDkR6hqmiRE0GkK8MtLQ8Uoz2OAsIKBxFQxpmg31VbCd
X-Sonic-MF: <kevinmwilson1956@yahoo.com>
X-Sonic-ID: 10a6490e-e4f3-44e5-b5cd-0a4ec2af749f
X-Mailer: WebService/1.1.21365 YMailNorrin
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <127255282.580618.1681859937764@mail.yahoo.com>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
 by: Kevin M. Wilson - Tue, 18 Apr 2023 23:18 UTC

Greetings... Kevin here:I need help, as you have guessed!I have this line: The Print Statement... Why complain about a 'comma', or a ')'???def play_game():
number = random.randint(1, LIMIT)
print (f'"I am thinking of a number between 1 to {LIMIT}\n")Or is this a setting in the IDE, I need to reassign?

Regards, Perplexed
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."     
Isaiah 43:2

| | Virus-free.www.avg.com |

Re: Pycharm IDE

<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: aapost@idontexist.club (aapost)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Tue, 18 Apr 2023 20:02:49 -0400
Organization: BlueWorld Hosting Usenet (https://usenet.blueworldhosting.com)
Message-ID: <u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 19 Apr 2023 00:02:49 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="88242"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:3oaduXoAnGILTKqi2gVUHxJEP/8= sha256:aQSXpX6eTbWLl+nx3A4/IoLu+Fjx/HXoxrhUAaaciEo=
sha1:tu5GVwzbMSIfitF/2PUJF3bwALE= sha256:ActQa21tBZO4R9dcEXnVE3hIkw3l3gj5CrVMM3ZhE3A=
Content-Language: en-US
In-Reply-To: <mailman.118.1681859944.20750.python-list@python.org>
 by: aapost - Wed, 19 Apr 2023 00:02 UTC

On 4/18/23 19:18, Kevin M. Wilson wrote:
>Why complain about a 'comma', or a ')'???
> print (f'"I am thinking of a number between 1 to {LIMIT}\n")

my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the
print with ) as you have
or , to add additional arguments to print

Re: Pycharm IDE

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: kevinmwilson1956@yahoo.com (Kevin M. Wilson)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Wed, 19 Apr 2023 05:16:00 +0000 (UTC)
Lines: 31
Message-ID: <mailman.121.1681881366.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de yDjPSgVy6jt1zlOJUmK3GQQ6E8wIJrRZlN3o8jrn3pXg==
Return-Path: <kevinmwilson1956@yahoo.com>
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=yahoo.com header.i=@yahoo.com header.b=VxHp8Oxe;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.021
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'pycharm': 0.04;
'url:webmail': 0.05; '(to': 0.07; '2023': 0.07; 'string': 0.07;
'18,': 0.09; '&gt;': 0.14; 'url:mailman': 0.15; 'arguments': 0.16;
'expects': 0.16; 'mentions': 0.16; 'wrote:': 0.16; 'says': 0.17;
'to:addr:python-list': 0.20; 'version': 0.23; 'to:name:python-
list@python.org': 0.24; 'url-ip:188.166.95.178/32': 0.25; 'url-
ip:188.166.95/24': 0.25; 'url:listinfo': 0.25; 'url-
ip:188.166/16': 0.25; 'url:sig-email': 0.27; 'thinking': 0.28;
'printed': 0.28; 'it,': 0.29; 'error': 0.29; 'url:link': 0.30;
'url-ip:188/8': 0.31; 'mark': 0.32; 'but': 0.32; 'header:In-Reply-
To:1': 0.34; 'close': 0.35; 'received:66': 0.35; 'necessary':
0.39; 'single': 0.39; 'received:66.163': 0.39;
'received:consmr.mail.ne1.yahoo.com': 0.39; 'double': 0.40; 'ide':
0.40; 'format': 0.62; 'showing': 0.62; 'between': 0.63; 'pass':
0.64; 'url:png': 0.66; 'url:net': 0.68; 'url:email-signature':
0.69; 'below': 0.69; 'you.': 0.71; '"when': 0.84; 'quotation':
0.84; 'quotes': 0.84; 'you:': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1681881363; bh=vhECvNALt2SLE2DqTRKTUtBIbkaO15LDRddCQPW+mS4=;
h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To;
b=VxHp8OxeTb387MuNLeuxbr6A2oFH9NFgiW5x47BBu+zfIjbXO2KOqucEaTOIESmjwwtMPwOU0IR2OBLxc5FKA0ojwxbsG/9my6raTtnKphZsj8gnGvaDdyZTVKIaYz9aeu42doflKzwpAn7G7xLT6UoQXmplx8CrgVJd6q6afLsCHs7+eLNIHl299mgbb1gaFosg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EmLLSMW8hIP
pHBn16L7hy4zYHdmOU5wqzCXhyKc6kvJLxfkb3Op3yAAcGJU.YInC4F27BVTR5kc-
X-Sonic-MF: <kevinmwilson1956@yahoo.com>
X-Sonic-ID: f7809891-e3d2-4103-9b7b-f9db9c7d8291
In-Reply-To: <u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
X-Mailer: WebService/1.1.21365 YMailNorrin
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <1155066518.688499.1681881360098@mail.yahoo.com>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
 by: Kevin M. Wilson - Wed, 19 Apr 2023 05:16 UTC

print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the impression that the format specifier 'f' was necessary for the print function, but the double quotes are for the string printed to the user, as a prompt!The Pycharm IDE is showing that it expects a single quotation mark or ')'! No error message is displayed.
Perplexed
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."     
Isaiah 43:2

On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost <aapost@idontexist.club> wrote:
On 4/18/23 19:18, Kevin M. Wilson wrote:
>Why complain about a 'comma', or a ')'???
>      print (f'"I am thinking of a number between 1 to {LIMIT}\n")

my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the
print with ) as you have
or , to add additional arguments to print
--
https://mail.python.org/mailman/listinfo/python-list

| | Virus-free.www.avg.com |

Re: Pycharm IDE

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: kevinmwilson1956@yahoo.com (Kevin M. Wilson)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Wed, 19 Apr 2023 05:27:56 +0000 (UTC)
Lines: 50
Message-ID: <mailman.122.1681882081.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de L1kSZURH4uPshiE26BYx4wR1LhbWNmG7YQ9TrfCmGiLg==
Return-Path: <kevinmwilson1956@yahoo.com>
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=yahoo.com header.i=@yahoo.com header.b=PWEcd5yR;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.022
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'pycharm': 0.04;
'url:webmail': 0.05; '(to': 0.07; '2023': 0.07; 'string': 0.07;
'18,': 0.09; 'ok,': 0.09; 'url:mailman': 0.15; '"print': 0.16;
'arguments': 0.16; 'expects': 0.16; 'mentions': 0.16;
'received:66.163.184': 0.16; 'wrote:\xc2\xa0': 0.16; 'wrote:':
0.16; 'says': 0.17; 'to:addr:python-list': 0.20; 'version': 0.23;
'to:name:python-list@python.org': 0.24; 'url-
ip:188.166.95.178/32': 0.25; 'url-ip:188.166.95/24': 0.25;
'url:listinfo': 0.25; 'url-ip:188.166/16': 0.25; 'url:sig-email':
0.27; 'thinking': 0.28; 'email addr:python.org&gt;': 0.28;
'printed': 0.28; 'it,': 0.29; 'error': 0.29; 'url:link': 0.30;
'url-ip:188/8': 0.31; 'python-list': 0.32; 'mark': 0.32; 'but':
0.32; 'header:In-Reply-To:1': 0.34; 'close': 0.35; 'received:66':
0.35; 'necessary': 0.39; 'single': 0.39; 'received:66.163': 0.39;
'received:consmr.mail.ne1.yahoo.com': 0.39; 'double': 0.40; 'ide':
0.40; 'stopped': 0.40; 'format': 0.62; 'showing': 0.62; 'between':
0.63; 'pass': 0.64; 'url:png': 0.66; 'url:net': 0.68; 'url:email-
signature': 0.69; 'below': 0.69; 'you.': 0.71; '"when': 0.84;
'email name:&lt;python-list': 0.84; 'it...': 0.84; 'quotation':
0.84; 'quotes': 0.84; 'rid': 0.84; 'you:': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
t=1681882077; bh=RQ30wFBB5XCJPlsY/9rzUrJYPFuMIW97OIOyGxW8ZH8=;
h=Date:From:To:In-Reply-To:References:Subject:From:Subject:Reply-To;
b=PWEcd5yRo66ZZSbgpGdT6vbPJoKux/Qeq+CyghhYoQyX6O8ZwJ8vY0aTXXAIrxNN49VYlVCsxDEBIGGunFlkij3ZuQ61cjg1FuudrguquhMpR+cBaPpu1BQaQAExvbfk/pu5a7PuLL/BIZnWYtwie9CSri+RbSurNyLK3uoSGz3/AHuTns7m3kGTWvB02n9IidaiJuHa6f3tENOcRztVZA8C3fUq+Bj1NDcBtxaDaYmxxPQJOXyji5E/C6iG6pTBd/J7MW8UmLjsNvf2/3m2M8L7oDYkABCpOr/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--
X-Sonic-MF: <kevinmwilson1956@yahoo.com>
X-Sonic-ID: 3dd7769c-4bf2-438d-9e4c-62e199cbbfcc
In-Reply-To: <1155066518.688499.1681881360098@mail.yahoo.com>
X-Mailer: WebService/1.1.21365 YMailNorrin
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <1242860619.686995.1681882076134@mail.yahoo.com>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
 by: Kevin M. Wilson - Wed, 19 Apr 2023 05:27 UTC

Ok, I got rid of the "print (f'"I am thinking of a number between 1 to {LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),
and Pycharm stopped complaining about it... WHY??
Perplexed
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."     
Isaiah 43:2

On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via Python-list <python-list@python.org> wrote:
print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the impression that the format specifier 'f' was necessary for the print function, but the double quotes are for the string printed to the user, as a prompt!The Pycharm IDE is showing that it expects a single quotation mark or ')'! No error message is displayed.
Perplexed
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."     
Isaiah 43:2

    On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost <aapost@idontexist.club> wrote: 
On 4/18/23 19:18, Kevin M. Wilson wrote:
>Why complain about a 'comma', or a ')'???
>      print (f'"I am thinking of a number between 1 to {LIMIT}\n")

my version says it expects ' first (to close the fstring)
then on a new line below it, it mentions the comma and )
I believe that is just showing you after ' it expects you to end the
print with ) as you have
or , to add additional arguments to print
--
https://mail.python.org/mailman/listinfo/python-list
 

|  | Virus-free.www.avg.com |

--
https://mail.python.org/mailman/listinfo/python-list

| | Virus-free.www.avg.com |

Re: Pycharm IDE

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

  copy mid

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

  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: Pycharm IDE
Date: Wed, 19 Apr 2023 19:17:03 +1200
Organization: DWM
Lines: 58
Message-ID: <mailman.123.1681888641.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<0e119db8-996d-d545-5435-566ade5433f1@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de bw/OVW/FjsEHepUCEKujgAyGK1SblIGyrt0wzNZNSsPw==
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=pTO+mVgd; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'looks': 0.02; 'pycharm':
0.04; '(to': 0.07; '2023': 0.07; 'string': 0.07; '18,': 0.09;
'=dn': 0.09; 'from:addr:danceswithmice.info': 0.09;
'from:addr:pythonlist': 0.09; 'ok,': 0.09; '"print': 0.16;
'arguments': 0.16; 'assuming': 0.16; 'confused.': 0.16;
'earlier,': 0.16; 'expects': 0.16; 'mentions': 0.16; 'message-
id:@DancesWithMice.info': 0.16; 'pertinent': 0.16; 'places,':
0.16; 'print(': 0.16; 'python!': 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; 'wrote:':
0.16; 'says': 0.17; 'to:addr:python-list': 0.20; 'input': 0.21;
'version': 0.23; 'code': 0.23; 'seems': 0.26; 'creating': 0.27;
'done': 0.28; 'thinking': 0.28; 'printed': 0.28; 'asked': 0.29;
'it,': 0.29; 'error': 0.29; 'header:User-Agent:1': 0.30; 'code,':
0.31; 'header:Organization:1': 0.31; 'question': 0.32; '(this':
0.32; 'python-list': 0.32; 'mark': 0.32; 'received:192.168.1':
0.32; 'but': 0.32; 'there': 0.33; 'same': 0.34; 'printing': 0.34;
'header:In-Reply-To:1': 0.34; 'close': 0.35; 'received:192.168':
0.37; 'could': 0.38; 'necessary': 0.39; 'single': 0.39;
'mentioned': 0.39; 'prompt': 0.39; 'still': 0.40; 'appears': 0.40;
'double': 0.40; 'ide': 0.40; 'stopped': 0.40; 'both': 0.40;
'want': 0.40; "there's": 0.61; 'above': 0.62; 'format': 0.62;
'showing': 0.62; 'copy': 0.63; 'between': 0.63; 'pass': 0.64;
'our': 0.64; 'received:51': 0.64; 'that,': 0.67; 'below': 0.69;
'"when': 0.84; 'etc?': 0.84; 'it...': 0.84; 'quotation': 0.84;
'quotes': 0.84; 'rid': 0.84; 'you:': 0.84
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud 83ECD3463
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1681888634;
bh=lVteHtflms7WpYJGlajWwUXZVktqBfk+IUy2Tkxc2qU=;
h=Date:Subject:To:References:From:In-Reply-To:From;
b=pTO+mVgdf5QtgBom4lS6noN00tOzCo5OS8WxasEIDKBG6H8sBbFM9WXF5+9sT/0Xn
r/5gPlAwTM+x78lSgcVrOzKHGyk8kYIHyc0b46pUAx/OJ0J3C4HGAcuqwEWeC0CzqR
MD8dlYA2ciFnzP3arUcF158IRDAUvJI7SdyT2iRxpJfSiwIyvrm5UkPNjaskjRVmyQ
HhiarnNacO5F8P5ytzYzbJwvEvPhUmY/DZmLbBzUaAruKA2inI/6EnopbP36wiz6Lf
lgZIWWa9b7GnUGVGtVoXi8nI/8O9VmWN0ddBik5GpPsbCkic4gwHQsvQAgxjOA5fx4
LVx4L1eeJH6Kw==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Content-Language: en-GB
In-Reply-To: <1242860619.686995.1681882076134@mail.yahoo.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: <0e119db8-996d-d545-5435-566ade5433f1@DancesWithMice.info>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
 by: dn - Wed, 19 Apr 2023 07:17 UTC

Kevin,

As mentioned in another response, the format of these messages seems
very confused.

Please copy-paste all of (the pertinent part of) the code, and ensure
that the line-endings are in the correct places, tab/indentation looks
correct, etc?
(this will allow us to copy the same code into our PyCharm software and
see what is happening!)

There still appears to be both an apostrophe (') and quotation-marks
("). Do you want the user to see one/both?

There was mention of this being an input prompt - hence the
question-mark. Are you aware that this could be done as part of the
input() function?

How about creating a string and then printing that, eg

prompt = f'"I am thinking of a number between 1 to {LIMIT}"
print( prompt )

NB because of the question asked earlier, the above code is NOT
syntactically-correct Python!
NBB am assuming there's previous code which defines LIMIT

On 19/04/2023 17.27, Kevin M. Wilson via Python-list wrote:
> Ok, I got rid of the "print (f'"I am thinking of a number between 1 to {LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),
> and Pycharm stopped complaining about it... WHY??
> Perplexed
> "When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."
> Isaiah 43:2
>
> On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via Python-list <python-list@python.org> wrote:
>
> print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the impression that the format specifier 'f' was necessary for the print function, but the double quotes are for the string printed to the user, as a prompt!The Pycharm IDE is showing that it expects a single quotation mark or ')'! No error message is displayed.
> Perplexed
> "When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."
> Isaiah 43:2
>
>     On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost <aapost@idontexist.club> wrote:
>
> On 4/18/23 19:18, Kevin M. Wilson wrote:
>> Why complain about a 'comma', or a ')'???
>>       print (f'"I am thinking of a number between 1 to {LIMIT}\n")
>
> my version says it expects ' first (to close the fstring)
> then on a new line below it, it mentions the comma and )
> I believe that is just showing you after ' it expects you to end the
> print with ) as you have
> or , to add additional arguments to print

--
Regards,
=dn

Re: Pycharm IDE

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

  copy mid

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

  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: Pycharm IDE
Date: Wed, 19 Apr 2023 21:33:19 +1200
Organization: DWM
Lines: 25
Message-ID: <mailman.124.1681896811.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<0e119db8-996d-d545-5435-566ade5433f1@DancesWithMice.info>
<1057815704.182764.1681895608091@mail.yahoo.com>
<dab31304-5c08-2b9a-1d64-40e202ba3d2e@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 00wIBnNGRJKbMCOBCPMmRgZZuE8d6gnIkXpFRUqfW9qw==
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=pDRZIxNa; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.004
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'def': 0.04; 'pycharm':
0.04; 'pycharm.': 0.07; '=dn': 0.09;
'from:addr:danceswithmice.info': 0.09; 'from:addr:pythonlist':
0.09; 'flagging': 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; 'wth': 0.16; 'wrote:': 0.16;
'to:addr:python-list': 0.20; 'written': 0.22; 'code': 0.23;
'thinking': 0.28; 'header:User-Agent:1': 0.30;
'header:Organization:1': 0.31; 'end.': 0.32; 'received:192.168.1':
0.32; 'there': 0.33; 'same': 0.34; 'header:In-Reply-To:1': 0.34;
"it's": 0.37; 'received:192.168': 0.37; 'list': 0.39; 'seeing':
0.39; 'sorry': 0.60; 'color': 0.62; 'email': 0.63; 'between':
0.63; 'received:51': 0.64; 'to:addr:yahoo.com': 0.64; 'look':
0.65; 'causing': 0.75
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud A0A489715
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1681896809;
bh=/WMiZf1Rz2JmiHN1L3hCxRZmzSN/9dVjkgkcDHlV0uE=;
h=Date:Subject:To:References:From:In-Reply-To:From;
b=pDRZIxNaaZKnVHGgw9to0kwRgnkE9Wv0HUAFhK1Unl8llQi+sqeVyr4AKtNsWdZg4
O3Qgkvf6U355CfjdUX3n1H3aDqQizbajcEhGrKl2x6DqvBY4iXtvTVqERpinLsFvb4
nc/U4uBjrto2S20LdZ9zPtQYio0rMGJVX7wTQYQyLpXMXbGj2eacfVnVGy8q6Vy2A6
4tZtApwXfcQtmrVRrBkb/Tz4h4OXOgJ74J34wvf2yBt/1YaGkxy/AufFk1N7SyvCmj
Elpr0Obrk6wDPPmSoJc+ODbUPNWdfWQawomuTIHeYRS5KiWvJbJmCPzFKosXVyrKyv
BSplNRWJfA1Cg==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Content-Language: en-GB
In-Reply-To: <1057815704.182764.1681895608091@mail.yahoo.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: <dab31304-5c08-2b9a-1d64-40e202ba3d2e@DancesWithMice.info>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<0e119db8-996d-d545-5435-566ade5433f1@DancesWithMice.info>
<1057815704.182764.1681895608091@mail.yahoo.com>
 by: dn - Wed, 19 Apr 2023 09:33 UTC

On 19/04/2023 21.13, Kevin M. Wilson wrote:
> Sorry the code snippet I sent was what is written in PyCharm. LIMIT is
> defined and is not causing an error!
> PyCharm is flagging the Parentheses at the end. It is not seeing the
> Parentheses as the end of the print function.
>
> def play_game():
> number= random.randint(1, LIMIT)
> print (f'"I am thinking of a number between 1 to {LIMIT}\n")
>
> Observe... Look at the color of the parenthesis, it's green!!!
> !!! = WTH

Same question!

Please explain: why is there a (single) apostrophe?

NB some email clients don't notice list communications and ReplyList -
you may need to do that manually...

--
Regards,
=dn

Re: Pycharm IDE

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Wed, 19 Apr 2023 08:33:21 -0400
Lines: 82
Message-ID: <mailman.125.1681907634.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de LI/Pmak2eMIJhi3lawuwjAOFnXwK8zQAzC03Jkuds1cg==
Return-Path: <list1@tompassin.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
X-Spam-Status: OK 0.022
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'looks': 0.02; 'pycharm':
0.04; '(to': 0.07; '2023': 0.07; 'string': 0.07; '18,': 0.09;
'expression': 0.09; 'ok,': 0.09; 'thinks': 0.09; 'problem.': 0.15;
'syntax': 0.15; '"print': 0.16; 'arguments': 0.16; 'closed,':
0.16; 'earlier,': 0.16; 'evaluated': 0.16; 'expects': 0.16;
'is).': 0.16; 'mentions': 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;
'substitution': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python':
0.16; 'says': 0.17; 'code.': 0.17; 'to:addr:python-list': 0.20;
'basically': 0.22; 'closed': 0.22; 'version': 0.23; 'code': 0.23;
'pattern': 0.26; 'perform': 0.26; 'bit': 0.27; 'function': 0.27;
'thinking': 0.28; 'printed': 0.28; 'it,': 0.29; 'error': 0.29;
'header:User-Agent:1': 0.30; 'code,': 0.31; 'seem': 0.31; 'am,':
0.31; 'program': 0.31; 'think': 0.32; "doesn't": 0.32; 'python-
list': 0.32; 'received:10.0': 0.32; 'received:mailchannels.net':
0.32; 'received:relay.mailchannels.net': 0.32; 'mark': 0.32;
'but': 0.32; 'same': 0.34; 'mean': 0.34; 'printing': 0.34; 'header
:In-Reply-To:1': 0.34; 'running': 0.34; 'close': 0.35; 'final':
0.35; 'display': 0.36; 'errors': 0.36; "it's": 0.37; 'necessary':
0.39; 'single': 0.39; 'double': 0.40; 'ide': 0.40; 'stopped':
0.40; 'both': 0.40; 'want': 0.40; 'try': 0.40; 'view': 0.60;
'here.': 0.61; 'format': 0.62; 'showing': 0.62; 'between': 0.63;
'pass': 0.64; 'down': 0.64; 'your': 0.64; 'tool': 0.65; 'look':
0.65; 'shows': 0.67; 'mind.': 0.67; 'header:Received:6': 0.67;
'received:64': 0.67; 'closing': 0.69; 'piece': 0.69; 'below':
0.69; 'them,': 0.70; 'too.': 0.70; 'care': 0.71; 'quote': 0.74;
'produces': 0.76; 'supposed': 0.76; '"when': 0.84; 'it...': 0.84;
'legitimate': 0.84; 'quotation': 0.84; 'quotes': 0.84; 'rid':
0.84; 'strings': 0.84; 'want.': 0.84; 'you:': 0.84; 'behind': 0.88
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1681907602; a=rsa-sha256;
cv=none;
b=uKDMpDTD5dp5dHR1qAc+4kwLNuikyQD3aTw4sYtNS41B0sLWXbG+meREnqG9Mp8j7hK2GU
lKTV2jfCJ469cUo7uGysos8jrLXZFi6XYSMo82Cnkm0l9K2dLZoxKJYKnxman0MeMnES4X
4hjbwtV+QdwJxKz51yVIopWTmYn73NDrQP31zzp2OSlvI7MsfG1ZjeYwY2sqJcblFtoJr0
//6StkzG18PoSCNe/FA6CYyxAqzIoIBxdpLhCeZ3DkgkJCsjXDqGQwgwQqs8Po1Vz2tSB+
SJdOHnHMUr1DFBPpSmfSldHZnK2nBh/ZWmt9FXqiuHMt94RS3QSd66qZIgMQWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1681907602;
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=3vK1LF4wOUGlc4LwvwWuk9LFHz1S6K8qf4D71uEmahE=;
b=O1U5kYAZrpnZe4mYJixRXIiZsjyxMHzAc/8Pj4hLW7qlk2qtqZ17S8+su4KdEkK9/kIWT6
+Ty7K28rfGTStAQcSGF+R5pwnkiOXIVzfYgmt21zG1GHj0ijkbWCuRCepOrj55Xn8sRzeH
s2Lbp2xuaZGQJc4bpPo7gX/WlgCZ2pVo+y9J5C1Dtai0sit4uou8QhZYyZ++0g+kRSeCl5
VT7s1Cw6x3fftncrMDPgtr5n6nK+Abx3QwOLEYnA6KfU4ZFg1BRHu0KHcytNQiMKVhlynV
SiiUl1cyWD3Vg0tb08TaWGoIvZQKARHs1y0ulpruPHavbn2icfAfbhvqFrV/lw==
ARC-Authentication-Results: i=1; rspamd-7f66b7b68c-6nl4l;
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-Continue-Lyrical: 18a4ad9006da5ae9_1681907603041_3473011816
X-MC-Loop-Signature: 1681907603041:3514285766
X-MC-Ingress-Time: 1681907603041
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1681907602;
bh=3vK1LF4wOUGlc4LwvwWuk9LFHz1S6K8qf4D71uEmahE=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=JVm4WZ0oKFAygCG5sEENYWVKq5sCilI8C0MW5Q4zk9XA8i9cU9lkcvGZHhcJuuaxE
pGoqA9TtYBCHq8J+YgvKKGLToSXHE0BZ0gZMgBTlVGY3B8bRTWfVIVvuGi+60CPqBa
8kzvcSiM5JTxOSRn0HK/OKhCDRwXOha3bhoNYYSZ6sqnJqczUAVKmkL27696dXb9pF
LsOFEZK35B4OQPMLtp0ESL9ZwfZbvfatoc/lBzYpbGlPooPptTeB+4o9TDdW9Y7y3C
s0RHA5Dc9C6xqYy7WhmfGfMz4YqTxe55KbETH6HLwXOf/4eYofRtNb7uHKtbWtewtb
4R0egfxB2R/BQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Content-Language: en-US
In-Reply-To: <1242860619.686995.1681882076134@mail.yahoo.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: <152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
 by: Thomas Passin - Wed, 19 Apr 2023 12:33 UTC

On 4/19/2023 1:27 AM, Kevin M. Wilson via Python-list wrote:
> Ok, I got rid of the "print (f'"I am thinking of a number between 1 to {LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),

I think you misunderstand several things at the same time here.

1. These errors originate from syntax errors. They are basically Python
errors. It's possible that behind the scenes, PyCharm is running one or
another Python program to detect them, but they are errors in your
Python code.

2. print() doesn't care whether you give it an f-string or not, because
a f-string is a string too.

3. All strings need to be closed with the same kind of quote they
started with. If one is not closed, then Python thinks the string is
supposed to continue, and - say- the final parenthesis of the print()
function looks like it is part of the string. So Python (or PyCharm)
notices that the closing parenthesis of the print() expression is missing.

4. in an f-string, the expression in braces is evaluated and replaced by
its string value. So if you try to do this

print('{LIMIT}')

then that will be printed as is with no substitution - because it is
not an f-string. So you will see "{LIMIT}" But you thought you were
going to see "42" (if LIMIT == 42, that is). OTOH,

print(f'{LIMIT})

will substitute the string value of LIMIT before printing the string.
Both are legitimate but the first is not what you seem to want.

5. As I posted earlier, you almost certainly do not need to add the "\n".

So, some suggestions:

- If you are having a problem with some piece of code, try to simplify
it down to the smallest bit that shows the problem.

- If you are having trouble with f-strings, then think about what you
want to achieve and look up information about f-strings with that in mind.

- If you are having trouble with the print statement, think what you
want it to display and look up information about the print function with
that in mind.

- If your tool - PyCharm in this case - is producing messages but you
don't understand why they are being produced, try to look up information
about how and when PyCharm produces error messages

Do you see a pattern here?

Also note that just because you don't see an error message does not mean
that the code is correct. It may be correct from the point of view of
Python syntax but that doesn't mean that it will perform correctly nor
how you expect.

> and Pycharm stopped complaining about it... WHY??
> Perplexed
> "When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."
> Isaiah 43:2
>
> On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via Python-list <python-list@python.org> wrote:
>
> print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the impression that the format specifier 'f' was necessary for the print function, but the double quotes are for the string printed to the user, as a prompt!The Pycharm IDE is showing that it expects a single quotation mark or ')'! No error message is displayed.
> Perplexed
> "When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."
> Isaiah 43:2
>
>     On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost <aapost@idontexist.club> wrote:
>
> On 4/18/23 19:18, Kevin M. Wilson wrote:
>> Why complain about a 'comma', or a ')'???
>>       print (f'"I am thinking of a number between 1 to {LIMIT}\n")
>
> my version says it expects ' first (to close the fstring)
> then on a new line below it, it mentions the comma and )
> I believe that is just showing you after ' it expects you to end the
> print with ) as you have
> or , to add additional arguments to print

Re: Pycharm IDE

<u1phjq$5tni$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nntp.mbourne@spamgourmet.com (Mark Bourne)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Wed, 19 Apr 2023 21:06:18 +0100
Organization: A noiseless patient Spider
Lines: 100
Message-ID: <u1phjq$5tni$2@dont-email.me>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 19 Apr 2023 20:06:18 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a5c58c30e2449228e3fe3e0cfd15a193";
logging-data="194290"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rmibt07W6o9v9/FlzHR0b"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.16
Cancel-Lock: sha1:IRW0R3Fk7+AHEyEyqI46oVqV2RQ=
In-Reply-To: <mailman.125.1681907634.20750.python-list@python.org>
 by: Mark Bourne - Wed, 19 Apr 2023 20:06 UTC

Thomas Passin wrote:
> On 4/19/2023 1:27 AM, Kevin M. Wilson via Python-list wrote:
>> Ok, I got rid of the "print (f'"I am thinking of a number between 1 to
>> {LIMIT}\n")"print ("I am thinking of a number between 1 to {LIMIT}\n"),
>
> I think you misunderstand several things at the same time here.
>
> 1. These errors originate from syntax errors.  They are basically Python
> errors.  It's possible that behind the scenes, PyCharm is running one or
> another Python program to detect them, but they are errors in your
> Python code.
>
> 2. print() doesn't care whether you give it an f-string or not, because
> a f-string is a string too.
>
> 3. All strings need to be closed with the same kind of quote they
> started with.  If one is not closed, then Python thinks the string is
> supposed to continue, and - say- the final parenthesis of the print()
> function looks like it is part of the string. So Python (or PyCharm)
> notices that the closing parenthesis of the print() expression is missing.
>
> 4. in an f-string, the expression in braces is evaluated and replaced by
> its string value.  So if you try to do this
>
> print('{LIMIT}')
>
> then that will be printed as is with no  substitution - because it is
> not an f-string.  So you will see "{LIMIT}" But you thought you were
> going to see "42" (if LIMIT == 42, that is). OTOH,
>
> print(f'{LIMIT})

^ I think this one should be:

print(f'{LIMIT}')

with the closing quote ;o)

> will substitute the string value of LIMIT before printing the string.
> Both are legitimate but the first is not what you seem to want.
>
> 5. As I posted earlier, you almost certainly do not need to add the "\n".
>
> So, some suggestions:
>
> - If you are having a problem with some piece of code, try to simplify
> it down to the smallest bit that shows the problem.
>
> - If you are having trouble with f-strings, then think about what you
> want to achieve and look up information about f-strings with that in mind.
>
> - If you are having trouble with the print statement, think what you
> want it to display and look up information about the print function with
> that in mind.
>
> - If your tool - PyCharm in this case - is producing messages but you
> don't understand why they are being produced, try to look up information
> about how and when PyCharm produces error messages
>
> Do you see a pattern here?
>
> Also note that just because you don't see an error message does not mean
> that the code is correct.  It may be correct from the point of view of
> Python syntax but that doesn't mean that it will perform correctly nor
> how you expect.
>
>> and Pycharm stopped complaining about it... WHY??
>> Perplexed
>> "When you pass through the waters, I will be with you: and when
>> you pass through the rivers, they will not sweep over you. When you
>> walk through the fire, you will not be burned: the flames will not set
>> you ablaze."
>> Isaiah 43:2
>>
>>      On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson
>> via Python-list <python-list@python.org> wrote:
>>   print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had
>> the impression that the format specifier 'f' was necessary for the
>> print function, but the double quotes are for the string printed to
>> the user, as a prompt!The Pycharm IDE is showing that it expects a
>> single quotation mark or ')'! No error message is displayed.
>> Perplexed
>> "When you pass through the waters, I will be with you: and when
>> you pass through the rivers, they will not sweep over you. When you
>> walk through the fire, you will not be burned: the flames will not set
>> you ablaze."
>> Isaiah 43:2
>>
>>      On Tuesday, April 18, 2023 at 06:44:37 PM MDT, aapost
>> <aapost@idontexist.club> wrote:
>>   On 4/18/23 19:18, Kevin M. Wilson wrote:
>>> Why complain about a 'comma', or a ')'???
>>>        print (f'"I am thinking of a number between 1 to {LIMIT}\n")
>>
>> my version says it expects ' first (to close the fstring)
>> then on a new line below it, it mentions the comma and )
>> I believe that is just showing you after ' it expects you to end the
>> print with ) as you have
>> or , to add additional arguments to print
>

Re: Pycharm IDE

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Wed, 19 Apr 2023 16:59:51 -0400
Lines: 12
Message-ID: <mailman.130.1681938503.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
<u1phjq$5tni$2@dont-email.me>
<7c7354d4-58fd-38e1-1c34-9587be89de83@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 4NMnu1OXABxy3G+ZvwuLWAPrBWjsnDzAsiyylZcAFNjA==
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=OYiuy00D;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.048
X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'pylint': 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; 'it?': 0.19;
'pm,': 0.19; 'to:addr:python-list': 0.20; 'header:User-Agent:1':
0.30; 'think': 0.32; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'mark': 0.32; 'header:In-
Reply-To:1': 0.34; 'should': 0.40; 'header:Received:6': 0.67;
'received:64': 0.67; 'closing': 0.69; 'quote': 0.74
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1681937993; a=rsa-sha256;
cv=none;
b=Hvk2qwioB9ndJCOslqCxuNcVCih2folQoDhsLnhJ1HT3NcWm6L1IBEELj2m2bclwsoe22s
LT21AfW9fcridhIvPrQvvyOIWoX153t1uf+4z0tlfWpSQyk9DsrlER/k7CDTNGVyK5tnW4
lUK+xsoGnqCoDWncMYh+2kVVMz5WYMw9hd0FuuzDeigQAgGyToCw3C5l/pvbGawcNe5UlW
p+h0p7W8bFWSwnvush9Risk94Ku1DuHUogUk7m3MGOGEeIfC4ag0PdMCg91JEXf9jU5mIf
lxjdeqAx89Mut9BOz/RVSSirkvdnhDrOgLspfPNyxiJ5Tknibv6wWNbiPqYf4w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1681937993;
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=jQKxAdOMGxttLqaaww6IxvqWwmbyV0Zo4MjKl1ibtrk=;
b=2Ksa42bdBFWUTPpqt+u2TVVCJSnTXsbm3C5vIoMkM4Gqx2yRyG8caPv4smxLuXyDV2zfoJ
/FSCxkPu8ZJufoWNQMGLyeuf0QSpFKt6ONqnb94O2jYWLBYYFNjGWO4x0La5BAMCQ85eoP
56Nsr9/GovMVCyrv23W9IcI9WWWZ8toBR5r1v1/sogDIOw4qnwBOFeVIZCGhz+9W2cZqdU
mnrkUBIjmfgHYcpSSkNuT+OT+4pIZ6dgwx0ew4lzMNOZsye/qhhup2gbdbFfaO6Y8ngYya
2b/pFvzdwjTINo5k0HoBt/9FyVQ0lF44IoZIo0UlNu9T3o3Ku1ijUdTju1f0EQ==
ARC-Authentication-Results: i=1; rspamd-7f66b7b68c-9phd5;
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-Thread-Supply: 45e45b665ce2b4ab_1681937993148_2567827031
X-MC-Loop-Signature: 1681937993148:2334039066
X-MC-Ingress-Time: 1681937993148
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1681937992;
bh=jQKxAdOMGxttLqaaww6IxvqWwmbyV0Zo4MjKl1ibtrk=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=OYiuy00DlywbMstW+MWS50ocQrqrnhIKO4jLKJ6M6y06V6kQss9VOcGSAMmoWfyyd
YOxSO7vRPxp2AzG1jbompiVoGNBrUv3MNAjdT32Nwm91CV+pd+gPJygsWOibktpbaW
pprY8c0tMDLzaPpY7DdqIxiqmBOrLZ/k2TfFtoMZes9tM4UmD2YNUwSi75rWkbxsc3
RKm8bH/4i1LTiUTdIQPVyRvTHtpm34SIFXQjSvGWM95p/TWEti3x3yRQ4PXC1JgpJY
IRCUiG8AnoBAmMKjGtLsCayXJFuGUhVl8w4wOQMaJkqBArpcbktNVyLec2Tn5ibKxp
UGwi51Qo8flGg==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Content-Language: en-US
In-Reply-To: <u1phjq$5tni$2@dont-email.me>
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: <7c7354d4-58fd-38e1-1c34-9587be89de83@tompassin.net>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
<u1phjq$5tni$2@dont-email.me>
 by: Thomas Passin - Wed, 19 Apr 2023 20:59 UTC

On 4/19/2023 4:06 PM, Mark Bourne wrote:
>>
>> print(f'{LIMIT})
>
> ^ I think this one should be:
>
> print(f'{LIMIT}')
>
> with the closing quote ;o)

Yup a typo! Where's pylint when I need it?

Re: Pycharm IDE

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

  copy mid

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

  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: Pycharm IDE
Date: Thu, 20 Apr 2023 11:48:30 +1200
Organization: DWM
Lines: 30
Message-ID: <mailman.133.1681948121.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
<u1phjq$5tni$2@dont-email.me>
<7c7354d4-58fd-38e1-1c34-9587be89de83@tompassin.net>
<55435ecb-8e89-bef5-519b-85e27cc4ddf8@DancesWithMice.info>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 3J6ObK+vBAvG1sz4266S1gL1wzGpjUUAM1FfUYQaHN/w==
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=FY1g5JqE; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.010
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; "python's": 0.05; '=dn':
0.09; 'from:addr:danceswithmice.info': 0.09;
'from:addr:pythonlist': 0.09; 'syntax': 0.15; 'eyes.': 0.16;
'message-id:@DancesWithMice.info': 0.16; 'pylint': 0.16;
'rationale': 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; 'typing': 0.16; 'wrote:': 0.16;
'it?': 0.19; 'pm,': 0.19; 'to:addr:python-list': 0.20; '(and':
0.25; '>>>': 0.28; 'header:User-Agent:1': 0.30;
'header:Organization:1': 0.31; 'think': 0.32; 'mark': 0.32;
'received:192.168.1': 0.32; 'but': 0.32; "didn't": 0.34; 'header
:In-Reply-To:1': 0.34; 'those': 0.36; 'received:192.168': 0.37;
'way': 0.38; 'should': 0.40; 'remember': 0.61; 'skip:o 10': 0.61;
'days': 0.62; 'great': 0.63; 'received:51': 0.64; 'closing': 0.69;
'quote': 0.74; "'all": 0.84; 'stretch': 0.91
DKIM-Filter: OpenDKIM Filter v2.11.0 vps.rangi.cloud E4D113477
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=danceswithmice.info;
s=staff; t=1681948119;
bh=thue5OCEaJb2NSA3s+kk0aBTEaNaa8lRDZkB2nBgnLc=;
h=Date:Subject:To:References:From:In-Reply-To:From;
b=FY1g5JqETC0BMZBQ0uR6L/pBD0pC2L2bZdQJv2nAs+RQUepuHRwmv8wd5BTMzjiQY
61nQCuyEoYX+dT9HULcjQrbGRC5Mg3/2W7HC+2ERMKBXyq0C4aGpGW2pSAqH7X+VC9
O8uzD3U122wCt+5ROJm8NaqV8kVu/tou+qrWqmA+DxsvXUN8Y/2ZEO/gdIXIogdg7c
uCV1Xhq+Zm9Zt8sY6wkqsUqggTzvSzkT3352EYf/mvqLP3yBulJbo9Xkk40XAMmV7A
+piTDZqKftRjcJcTZRiW+Pgz76v2ttFkwWBwWZpW87oy9NZGEeGCECecP62FyGeaxe
3W7ubcCmUKY9Q==
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Content-Language: en-GB
In-Reply-To: <7c7354d4-58fd-38e1-1c34-9587be89de83@tompassin.net>
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: <55435ecb-8e89-bef5-519b-85e27cc4ddf8@DancesWithMice.info>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
<u1phjq$5tni$2@dont-email.me>
<7c7354d4-58fd-38e1-1c34-9587be89de83@tompassin.net>
 by: dn - Wed, 19 Apr 2023 23:48 UTC

On 20/04/2023 08.59, Thomas Passin wrote:
> On 4/19/2023 4:06 PM, Mark Bourne wrote:
>>>
>>> print(f'{LIMIT})
>>
>> ^ I think this one should be:
>>
>> print(f'{LIMIT}')
>>
>> with the closing quote ;o)
>
> Yup a typo!  Where's pylint when I need it?

but (and you designed it this way - right?) an excellent object-lesson
for the OP

AND

great rationale for why linters are so handy!

I am bullish on F-strings, but they can stretch the typing fingers and
strain the eyes. Remember the days when pythonista used to make
deprecating remarks about the superiority of Python's syntax because we
didn't have 'all those braces' (and other punctuation-characters)
cluttering-up the code???

--
Regards,
=dn

Re: Pycharm IDE

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: list1@tompassin.net (Thomas Passin)
Newsgroups: comp.lang.python
Subject: Re: Pycharm IDE
Date: Thu, 20 Apr 2023 08:52:59 -0400
Lines: 47
Message-ID: <mailman.134.1681995190.20750.python-list@python.org>
References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
<u1phjq$5tni$2@dont-email.me>
<7c7354d4-58fd-38e1-1c34-9587be89de83@tompassin.net>
<55435ecb-8e89-bef5-519b-85e27cc4ddf8@DancesWithMice.info>
<f5c41cba-0870-89fb-2d36-495d83b03884@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de sdGP1xHYXltbQR0QJlzBRQFbWA497W9zQ6P4tzhWd5Bw==
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=nFHMFIK+;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.034
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; "python's": 0.05; 'lets':
0.07; 'imports,': 0.09; 'it)': 0.09; 'like,': 0.09; 'syntax':
0.15; '>>>>': 0.16; 'eyes.': 0.16; 'pylint': 0.16; 'rationale':
0.16; 'readability': 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;
'typing': 0.16; 'variables,': 0.16; 'wrote:': 0.16; 'probably':
0.17; "aren't": 0.19; 'it?': 0.19; 'pm,': 0.19; 'to:addr:python-
list': 0.20; '(and': 0.25; 'prepare': 0.25; "isn't": 0.27; '>>>':
0.28; 'it,': 0.29; 'header:User-Agent:1': 0.30; 'think': 0.32;
'checks': 0.32; 'python-list': 0.32; 'received:10.0': 0.32;
'received:mailchannels.net': 0.32;
'received:relay.mailchannels.net': 0.32; 'mark': 0.32; 'but':
0.32; 'there': 0.33; 'use,': 0.33; "didn't": 0.34; 'header:In-
Reply-To:1': 0.34; 'question.': 0.35; 'errors': 0.36; 'those':
0.36; 'missing': 0.37; "it's": 0.37; 'though': 0.37; 'file': 0.38;
'way': 0.38; 'use': 0.39; 'break': 0.39; 'advantage': 0.40;
'should': 0.40; 'remember': 0.61; 'skip:o 10': 0.61; "there's":
0.61; 'gives': 0.62; 'days': 0.62; 'great': 0.63; 'between': 0.63;
'down': 0.64; 'your': 0.64; 'header:Received:6': 0.67;
'received:64': 0.67; 'right': 0.68; 'closing': 0.69; 'quote':
0.74; 'change,': 0.76; "'all": 0.84; 'compromise': 0.84;
'occasion': 0.91; 'stays': 0.91; 'stretch': 0.91
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1681995180; a=rsa-sha256;
cv=none;
b=w/CNwt5za+gxNc9TcWSdX+vO6/wg3AX9WiAxYni7SJBSt6hLHszJaTM5m+TmAWr6bqIbbA
1f+Sl1Sm9wzkGvLlwn8n2Pa/y/LV3C60Biiumue/R7q1khihl+5RlEnF+9DH+ILGnLj2v4
Cnr/B4G/yymehdrOSOb+zjXJBVbsAidZNo8e4VsHSbNyGKpcktOm+/y1LVZ98Xy+VocZjD
67eSE+PIH3h6y5JyPmgEnn5qWkZa3aVFmmS8L54n0o5gND0rkt90JXHjvzVc73AasXfCVD
QSEau/YiqP2YmvKDt69xbrGetNTMXJO0FltEPqCJSjKcGmtv53pGsoFY7+DZ0w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
d=mailchannels.net; s=arc-2022; t=1681995180;
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=XI9kAGnMeBu3r34BbQ3zc5IAI7v3eqYMpJeWNrGus9I=;
b=fU+JbfJY9V7byc3YvuhLYjHCgqVwjoSJOaTx59nGrllVpBAvQkY3EAaP5GQIaEzQt0k0gb
KRCgu07XmMk127zjO552QiPuUvJn2QgL1gJ2dbN9vc8JpyRaRqh3d2paKnhNro1aXsmmt4
B5hXB81troDh3hVJ17jv/JOmM6qiNuwh4L3pdh/dwTrBo6ZmUATOUM3Mi+A300MVGaRVJU
ghxZ7Fw5lv5GnpTxwR2HGVtssSPEXJFdEHCc0B9wn30P7WwApexdQ4ckBo2mOyGPkJP36N
x2Gqek/vf/ERwKYSA9IRRP1zNqEbp/GMGL9vPm8wJvnG29zfvWAmirCkY3fkig==
ARC-Authentication-Results: i=1; rspamd-7f66b7b68c-qw5fh;
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-Exultant-Battle: 06a11c7602ff9dc3_1681995180413_3856722224
X-MC-Loop-Signature: 1681995180413:939718822
X-MC-Ingress-Time: 1681995180412
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
s=dreamhost; t=1681995179;
bh=XI9kAGnMeBu3r34BbQ3zc5IAI7v3eqYMpJeWNrGus9I=;
h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
b=nFHMFIK+l9e7raai2P9rLsgvKBZTGUVXPsCUMlbNwNSrPbBAC7bMIl3ae5xywmByy
zGMh+8h2ivARIi2BsSkYxbyNjoRmqVhBgpPm57/ltyEfuqc8sQNrjQ7akj2pkrV1xP
vDC50CI1mSEbnujdBIsXj7CsjsEDzJHYaBAvJHmKvO+3MSixgXrQJ7mgQodMME7s/Y
Lbgy0IXHScUhCsiOqckPfCMIWGS1tSiZwQApZ3DILeNPgzG48RJPZmJPGDl+HrmoNu
zYrx438ndRf8MhXL65v0nev6iXtQUb/bDwRCnrEEscf3IU1yPdi1+S627Fc6Uef6cg
GPs7oqSHmgB/Q==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.0
Content-Language: en-US
In-Reply-To: <55435ecb-8e89-bef5-519b-85e27cc4ddf8@DancesWithMice.info>
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: <f5c41cba-0870-89fb-2d36-495d83b03884@tompassin.net>
X-Mailman-Original-References: <127255282.580618.1681859937764.ref@mail.yahoo.com>
<127255282.580618.1681859937764@mail.yahoo.com>
<mailman.118.1681859944.20750.python-list@python.org>
<u1nb39$2m5i$1@nnrp.usenet.blueworldhosting.com>
<1155066518.688499.1681881360098@mail.yahoo.com>
<1242860619.686995.1681882076134@mail.yahoo.com>
<152fb9fa-ce51-ad2f-c18c-a2052130e00b@tompassin.net>
<mailman.125.1681907634.20750.python-list@python.org>
<u1phjq$5tni$2@dont-email.me>
<7c7354d4-58fd-38e1-1c34-9587be89de83@tompassin.net>
<55435ecb-8e89-bef5-519b-85e27cc4ddf8@DancesWithMice.info>
 by: Thomas Passin - Thu, 20 Apr 2023 12:52 UTC

On 4/19/2023 7:48 PM, dn via Python-list wrote:
> On 20/04/2023 08.59, Thomas Passin wrote:
>> On 4/19/2023 4:06 PM, Mark Bourne wrote:
>>>>
>>>> print(f'{LIMIT})
>>>
>>> ^ I think this one should be:
>>>
>>> print(f'{LIMIT}')
>>>
>>> with the closing quote ;o)
>>
>> Yup a typo!  Where's pylint when I need it?
>
> but (and you designed it this way - right?) an excellent object-lesson
> for the OP
>
> AND
>
> great rationale for why linters are so handy!

The Leo editor, which I use, checks the file you are working on for
syntax errors and also for undefined variables, missing imports, and the
like, when you save it. It gives you a clickable link to the line in
question. This is a good compromise because it stays out of your way
until you take a break by saving.

> I am bullish on F-strings, but they can stretch the typing fingers and
> strain the eyes. Remember the days when pythonista used to make
> deprecating remarks about the superiority of Python's syntax because we
> didn't have 'all those braces' (and other punctuation-characters)
> cluttering-up the code???

When you get right down for it, there isn't much difference between

'Here is the result: %s, %s' %(a.b, c)

and

'Here is the result: {}, {}'.format(a.b, c)

Readability and typeability aren't much different. It's only when we
get to f-strings that there's a real change, and the second form started
to prepare us for it (yes, I know that the .format() form lets you use
your own formatter - probably a real advantage though I never had
occasion to use it)


devel / comp.lang.python / Re: Pycharm IDE

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor