[Zope] define a class in a python script

Yuri yurj at alfa.it
Wed Mar 5 04:43:33 EST 2008


Tino Wildenhain wrote:
> Yuri wrote:
>> Hi, all!
>>
>> I would like to define a class inside a python script (so I can 
>> catalog it and use catalog to store info, as the tutorial about 
>> catalog everything suggests).
>
> Its not possible in Python Scripts. You would need to write either
> an external method or a small product.

An external method can load only a function, not a class, so really I 
need to write a product just only for a class?

>
> Regards
> Tino



More information about the Zope mailing list