Oct-16-2018, 10:52 AM
you need to learn the basics of classes.
I would expect the 'classes basic' post will contain enough information to complete your task, but I include all, if you wish (or need) to read further:
classes basic
Class Intermediate: Inheritance
Class Intermediate: Operator Overloading
Classes [advanced]: Dependent attributes (and Descriptors)
Classes [advanced]: Descriptors (managed attributes)
I would expect the 'classes basic' post will contain enough information to complete your task, but I include all, if you wish (or need) to read further:
classes basic
Class Intermediate: Inheritance
Class Intermediate: Operator Overloading
Classes [advanced]: Dependent attributes (and Descriptors)
Classes [advanced]: Descriptors (managed attributes)