Re: Pycharm Won't Do Long Underscore

2020-06-30 Thread Random832
On Wed, Jun 24, 2020, at 21:38, Grant Edwards wrote: > On 2020-06-24, Peter J. Holzer wrote: > > > There is U+FF3F Fullwidth Low Line. > > > >> If there were, Python would not know what to do with it > > > > You can use it in variable names, but not at the beginning, and it isn't > > equivalent t

Re: Pycharm Won't Do Long Underscore

2020-06-30 Thread Peter J. Holzer
On 2020-06-25 11:56:47 -0600, Michael Torrie wrote: > On 6/24/20 7:38 PM, Grant Edwards wrote: > > On 2020-06-24, Peter J. Holzer wrote: > >> There is U+FF3F Fullwidth Low Line. > >> > >>> If there were, Python would not know what to do with it > >> > >> You can use it in variable names, but not a

Re: Pycharm Won't Do Long Underscore

2020-06-25 Thread Michael Torrie
On 6/24/20 7:38 PM, Grant Edwards wrote: > On 2020-06-24, Peter J. Holzer wrote: > >> There is U+FF3F Fullwidth Low Line. >> >>> If there were, Python would not know what to do with it >> >> You can use it in variable names, but not at the beginning, and it isn't >> equivalent to two underscores,

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread Grant Edwards
On 2020-06-24, Peter J. Holzer wrote: > There is U+FF3F Fullwidth Low Line. > >> If there were, Python would not know what to do with it > > You can use it in variable names, but not at the beginning, and it isn't > equivalent to two underscores, of course: Ouch. Anybody caught using that shoul

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread o1bigtenor
On Wed, Jun 24, 2020 at 1:54 PM Tony Kaloki wrote: > > Thanks for all your explanations, everyone. Hopefully, I'll know better next > time I come across a similar case. Now, to try and understand the rest of > Python... > Your last sentence - - - - I'm right there with you! (Reading it made me

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread Peter J. Holzer
On 2020-06-24 13:48:18 -0400, Dennis Lee Bieber wrote: > On Tue, 23 Jun 2020 20:49:36 +, Tony Kaloki > declaimed the following: > > Alexander, > > Thank you so much! It worked! Thank you. One question: in your > > reply, are you saying that Python would have treated the two > > separate unders

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread Chris Angelico
On Thu, Jun 25, 2020 at 4:40 AM MRAB wrote: > > On 2020-06-24 18:59, Chris Angelico wrote: > > On Thu, Jun 25, 2020 at 3:51 AM Dennis Lee Bieber > > wrote: > >> > >> On Tue, 23 Jun 2020 20:49:36 +, Tony Kaloki > >> declaimed the following: > >> > >> >Alexander, > >> > Than

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread Tony Kaloki
MRAB Sent: Wednesday, June 24, 2020 7:28:52 PM To: python-list@python.org Subject: Re: Pycharm Won't Do Long Underscore On 2020-06-24 18:59, Chris Angelico wrote: > On Thu, Jun 25, 2020 at 3:51 AM Dennis Lee Bieber > wrote: >> >> On Tue, 23 Jun 2020 20:49:36 +, Tony

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread MRAB
On 2020-06-24 18:59, Chris Angelico wrote: On Thu, Jun 25, 2020 at 3:51 AM Dennis Lee Bieber wrote: On Tue, 23 Jun 2020 20:49:36 +, Tony Kaloki declaimed the following: >Alexander, > Thank you so much! It worked! Thank you. One question: in your reply, are you saying t

Re: Pycharm Won't Do Long Underscore

2020-06-24 Thread Chris Angelico
On Thu, Jun 25, 2020 at 3:51 AM Dennis Lee Bieber wrote: > > On Tue, 23 Jun 2020 20:49:36 +, Tony Kaloki > declaimed the following: > > >Alexander, > > Thank you so much! It worked! Thank you. One question: in > > your reply, are you saying that Python would have treated th

Re: Pycharm Won't Do Long Underscore

2020-06-23 Thread Christian Gollwitzer
Am 23.06.20 um 22:49 schrieb Tony Kaloki: Alexander, Thank you so much! It worked! Thank you. One question: in your reply, are you saying that Python would have treated the two separate underscores the same way as a long underscore i.e. it's a stylistic choice rather than

Re: Pycharm Won't Do Long Underscore

2020-06-23 Thread Alexander Neilson
and easy to follow - even for me > - reply. > Tony > > Get Outlook for Android > > From: Alexander Neilson > Sent: Tuesday, June 23, 2020 9:28:37 PM > To: Tony Kaloki > Cc: python-list@python.org > Subject: Re: Pycharm Won't Do Long Underscore > > Hi Tony &

Re: Pycharm Won't Do Long Underscore

2020-06-23 Thread Alexander Neilson
Hi Tony The “long underscore” (often called Dunder as “double underscore”) is actually two underscores as you are seeing shown in PyCharm. However the display of it as one long underscore is a ligature (special font display to communicate clearer) and to enable these in PyCharm go to the sett

Re: Pycharm Won't Do Long Underscore

2020-06-23 Thread Grant Edwards
On 2020-06-23, Tony Kaloki wrote: >in your reply, are you saying that Python would have treated the >two separate underscores the same way as a long underscore No. There is no long underscore in Python. In Python, it's always two underscores. In some fonts, two underscores just _looks

Re: Pycharm Won't Do Long Underscore

2020-06-23 Thread Tony Kaloki
case, thanks again for your quick and easy to follow - even for me - reply. Tony Get Outlook for Android<https://aka.ms/ghei36> From: Alexander Neilson Sent: Tuesday, June 23, 2020 9:28:37 PM To: Tony Kaloki Cc: python-list@python.org Subject: Re: Pycharm Wo