[Zope] creating and using a python object

Bill Anderson bill@libc.org
21 Feb 2001 20:38:38 -0700


On 21 Feb 2001 19:54:53 +0100, Dieter Maurer wrote:
> Joh Johannsen writes:
>  > I've got the following python class:
>  > 
>  > class TestClass:
>  >   def __init__(self):
>  >     pass
>  > 
>  >   def getValue(self):
>  >     return 'test'
>  > 
>  > How can I create an instance of it, and use it from within a DTML page?
> You can put it into a product (HowTo on zope.org)
> or use it in an external method.
> 
> In both cases, you would need to learn something about Zope
> security. There is a documentation of Brian about this topic
> on zope.org.



hmmm ... "The Documentation of Brian"
kinda has a certain pythonic ring to it ..
Know what I mean? *wink*wink*, *nudge*nudge*

a-wink-is-as-good-as-a-nod-ly y'rs Bill