[Zope] ZopeObject2HTML (Reflection)

Chris McDonough chrism@zope.com
Fri, 11 Jan 2002 09:26:38 -0500


zopestoller@thomas-guettler.de wrote:

> No, I was looking for something that does this at runtime. 
> Something like http://localhost:8080/my_object/introspection -->
> Which results in a HTML Page with information about my_object.
> With information I mean: method names, attribute names, base classes ...


Hmmm... err.. Dieter Maurer I think wrote something like this.  I can't 
remember what he called it, though. :-(

> I would like to write this if noone has done this. But how can I 
> access this information? Sorry, I quite new to python. 
> my_object.__methods__ does not work in a python product.
> dir(my_object) does. But it has not much information.
> 
>  Does someone know how to get this?


What do you want to get?  Have you looked at the source for HappyDoc? 
The book "Learning Python"?