22 Jul
2003
22 Jul
'03
9:21 p.m.
Robert McPeak wrote at 2003-7-21 10:49 -0700:
I'm sure that this is a silly question, but I'm going ask it anyways... ;)
How do I instantiate/use classes inside of a python extension from zope?
In the same way, you do it always :-) from module import class_ class MyClass(class_):.... # use as base class attr= class_.attr # access to class attribute instance= class_(...) # instantiation For further information, please read the Zope Developer Guide. Dieter