Mark Shewfelt wrote:
> Hello,
>
> I have implemented a series of classes representing a Building, its
> respective Equipment, and then various Components of that equipment
> like so (as you'll be able to tell, I'm a newbie):
>
> class Building:
> equipment = {}
> def AddEquipment( name,
Thanks a lot Tim!
My __init__ functions didn't set the dictionaries like you did below
(e.g. self.equipment = {} ).
Newbie mistake - won't make that one again.
Thanks again,
Mark
Tim wrote:
> Mark Shewfelt wrote:
> > Hello,
> >
> > I have implemented a series of classes representing a Buildin
Mark Shewfelt wrote:
> Hello,
>
> I have implemented a series of classes representing a Building, its
> respective Equipment, and then various Components of that equipment
> like so (as you'll be able to tell, I'm a newbie):
>
> class Building:
> equipment = {}
> def AddEquipment( name,