Re: [Zope] creating ZClass instances from an external method

2000-11-15 Thread Maik Röder
Hi Gary ! Gary Reynolds wrote: > > I have a need to do some creating of objects from python code. > > Am I correct in thinking that to add a new object, that is one of my > products, I need to do something like: > > folder.manage_addProduct['ProductName'](id='foo', title='bar') > > I have s

[Zope] creating ZClass instances from an external method

2000-11-14 Thread Gary Reynolds
I have a need to do some creating of objects from python code. Am I correct in thinking that to add a new object, that is one of my products, I need to do something like: folder.manage_addProduct['ProductName'](id='foo', title='bar') I have sample code to create simple things like using manag