[Zope] creating and using a python object

Joh Johannsen jojo@farm9.com
Tue, 20 Feb 2001 15:10:45 -0800


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?

Thanks,

JJ