[Zope] Is there a list-of-dictionaries-like property?

Dieter Maurer dieter@handshake.de
Mon, 11 Feb 2002 21:06:59 +0100


Juergen R. Plasser / HEXAGON writes:
 > Is there a simple way to implement a Python-like list of dictionaries as 
 > property within a ZClass? I need to store a data structure like this (a 
 > list of dictionaries):
 > 
 > [{'uid':1,'status':0},{'uid':2,'status':1},{'uid':3,'status':0},{'uid':4,'s
 > tatus':3}]
 > 
 > The obvoius thing to do would be creating a new class or am I missing 
 > something?
I think you must go this way...


Dieter