[Python-ideas] Re: Creating a class template file generator inside Python language

2022-02-16 Thread Jelle Zijlstra
Are you aware of https://docs.python.org/3.10/library/dataclasses.html? That essentially provides a way to generate the boilerplate without having to put it all in your code. El mié, 16 feb 2022 a las 5:20, Avanish Gupta () escribió: > Thanks for the previous mail. > I would like to highlight

[Python-ideas] Re: Creating a class template file generator inside Python language

2022-02-16 Thread Chris Angelico
On Thu, 17 Feb 2022 at 00:18, Avanish Gupta wrote: > > Thanks for the previous mail. > I would like to highlight the value my thought offers to the developers. They > often have to write classes while writing a module. In the class, they are > supposed to write classes and objects. In a class,

[Python-ideas] Re: Creating a class template file generator inside Python language

2022-02-16 Thread Steven D'Aprano
On Tue, Feb 15, 2022 at 03:43:54PM +0530, Avanish Gupta wrote: > I would like to highlight the value my thought offers to the developers. > They often have to write classes while writing a module. In the class, they > are supposed to write classes and objects. In a class, typically the >

[Python-ideas] Re: Creating a class template file generator inside Python language

2022-02-16 Thread Avanish Gupta
Thanks for the previous mail. I would like to highlight the value my thought offers to the developers. They often have to write classes while writing a module. In the class, they are supposed to write classes and objects. In a class, typically the attributes are private, and we have getters and