[Zope] How to add ZClass instances from Python Script ? Help needed

Upton, Sean sean.upton@uniontrib.com
Thu, 05 Apr 2001 12:41:00 -0700


Unfortunately, this doesn't work from a PythonScript (can't use _setId,
etc), only external methods.  I am trying to do the same thing, trying to
port the technique (calling the ZClass constructor add method) from the dtml
version, but I can't seem to get it right... anybody have any thoughts?

Sean

-----Original Message-----
From: Casey Duncan [mailto:cduncan@kaivo.com]
Sent: Wednesday, April 04, 2001 2:51 PM
To: Anton A. Zotov
Cc: zope@zope.org
Subject: Re: [Zope] How to add ZClass instances from Python Script ?
Help needed


"Anton A. Zotov" wrote:
> 
> People, hi !
> 
> I would appreciate somebody telling me how to programmatically add ZClass
> instance from Python Script. Everything I tried won't work for the time
> being  :-(
> 
> Thanx,
> 
> Anton
> 

Check out: http://www.zope.org/Members/tazzzzz/addZClasses

this should give you the info you need.

-- 
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )