Re: problem at the time of using editor

2020-06-18 Thread DL Neil via Python-list
On 18/06/20 10:20 PM, Sourav Kundu wrote: when I am using the editor to write a long program and trying to run it the python command line showing it syntax error Of possible interest:- Why SuperHELP for Python? | pssst Search domain p-s.co.nz/wordpress/why-superhelp-for-python/p-s.co.nz/wordpr

Re: problem at the time of using editor

2020-06-18 Thread Grant Edwards
On 2020-06-18, Sourav Kundu wrote: > when I am using the editor to write a long program and trying to run > it the python command line showing it syntax error Fix the syntax error using the editor, then run the program again. -- https://mail.python.org/mailman/listinfo/python-list

Re: problem at the time of using editor

2020-06-18 Thread Terry Reedy
On 6/18/2020 6:20 AM, Sourav Kundu wrote: when I am using the editor to write a long program and trying to run it the python command line showing it syntax error That happens to all of us, even for short programs. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list

Re: problem at the time of using editor

2020-06-18 Thread Mats Wichmann
On 6/18/20 4:20 AM, Sourav Kundu wrote: > when I am using the editor to write a long program and trying to run it the > python command line showing it syntax error > That almost certainly means there is a syntax error in your code. Please provide some details - like the actual error text. Note

problem at the time of using editor

2020-06-18 Thread Sourav Kundu
when I am using the editor to write a long program and trying to run it the python command line showing it syntax error -- https://mail.python.org/mailman/listinfo/python-list

Re: Property for dataclass field with default value

2020-06-18 Thread Ivan Ivanyuk
On Thu, 18 Jun 2020 at 11:26, Peter Otten <__pete...@web.de> wrote: > > Ivan Ivanyuk wrote: > > > Hello All, > > > > I have some trouble using @dataclass together with @property decorator > > or property() function. > > > > From the documentation and PEP is seems that the intended behaviour of > >

Re: Property for dataclass field with default value

2020-06-18 Thread Peter Otten
Ivan Ivanyuk wrote: > Hello All, > > I have some trouble using @dataclass together with @property decorator > or property() function. > > From the documentation and PEP is seems that the intended behaviour of > @dataclass is to be the same as normal __init__() that sets instance > variables. >