[Zope] Generating lists of dicionaries from properties

Andreas Brinner abrinner@gmx.de
Wed, 16 Oct 2002 00:38:29 +0200


Hello,

I'm looking for a way to generate lists of dicionaries from string 
properties. As this is for a public website eval doesn't seem to be the 
best choice.

For an example, I want to get this list of dictionaries:

  prop = ( { "id":"first_entry", "title":"first_title" },
           { "id":"second_entry", "title":"second_title" },
         )

It should be possible, that this information is entered in a human readable 
way as a string property.

Any suggestions?

Thanks

 Andreas