Get a handle to the object where you wish to create the object then create
the object.
For example: newobj = getattr(self, 'folderA')
will give you folderA in self. The new object will be created in folderA.
--
Andy McKay, Developer, ActiveState
http://www.ActiveState.com
On Thu, 17 Aug 2000, Andy McKay wrote:
Get a handle to the object where you wish to create the object then create
the object.
For example: newobj = getattr(self, 'folderA')
will give you folderA in self. The new object will be created in folderA.
Isn't it actually that he wants to do the
Francois-Regis CHALAOUX writes:
Hi,
When I create a ZClass instance from an external Method I create by default
the instance in the same place where is located my external method (see the
code below).
How to select a different place in my script where will be create the ZClass ?