[Zope] how to get info about an object (dir/type)

Dieter Maurer dieter at handshake.de
Thu Jun 30 16:32:18 EDT 2005


gabor wrote at 2005-6-30 13:48 +0200:
>while working with zope, i many times have the following problem:
>
>i find a method that i can use, and the documentation (for example) says:
>"returns the current user".
>
>ok, but what kind of object is it?
>what methods does it have?
>
>usually i would simply call dir() or type() on the result object,
>but those are forbidden in zope.

"DocFinder" can help you.

You might need a small script that obtains the object you
are interested in and than calls "DocFinder" with it.



  <http://www.dieter.handshake.de/pyprojects/zope>


-- 
Dieter


More information about the Zope mailing list