Re: Python best practice instantiating classes in app

2019-04-29 Thread DL Neil
Dave, On 30/04/19 7:36 AM, Dave wrote: On 4/29/19 3:26 PM, Terry Reedy wrote: On 4/29/2019 1:38 PM, Dave wrote: As apps get more complex we add modules, or Python files, to organize things.  One problem I have is a couple of data classes (list of dictionary objects) in a few modules that are

Re: Python best practice instantiating classes in app

2019-04-29 Thread Dave
On 4/29/19 3:26 PM, Terry Reedy wrote: On 4/29/2019 1:38 PM, Dave wrote: As apps get more complex we add modules, or Python files, to organize things.  One problem I have is a couple of data classes (list of dictionary objects) in a few modules that are used in a number of the other modules. 

Re: Python best practice instantiating classes in app

2019-04-29 Thread Terry Reedy
On 4/29/2019 1:38 PM, Dave wrote: As apps get more complex we add modules, or Python files, to organize things.  One problem I have is a couple of data classes (list of dictionary objects) in a few modules that are used in a number of the other modules.  For example a list of meter reading dict