21 Apr
2004
21 Apr
'04
8:13 a.m.
Robb Shecter wrote:
Ausum Studio said:
You can keep data in memory by applying a RAM cache to the object that contains or generates it. This is one way to keep resource lists and dictionaries 'on air'.
Is there a way, from a Python script to just add python objects to a container?
For example, a list of strings to a folder?
folder.manage_addProperty('my_stuff',['one','two','three'],'lines')
I looked in the API for Folder,
Look at the PropertyManager API... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk