[Zope] Calling objects from Python script

brian.r.brinegar.1 brinegar@purdue.edu
Thu, 4 Oct 2001 14:08:32 -0500 (EST)


I would like to call an object that is passed to a python script. I run
into a problem because __call__() takes different parameters depending on
what type of object it is. For example DTML Documents take (client,
REQUEST) and python scripts can take different parameters depending on how
they are defined. Is there a standard way to call an object and assure
that it gets the context and REQUEST variables?

--Brian Brinegar
  ECN Web Technician
  MSEE 104 A 494-3106
  http://www.geeksoft.net/