30 Jun
2005
30 Jun
'05
12:06 p.m.
----- Original Message ----- From: "gabor" <gabor@nekomancer.net> To: <zope@zope.org> Sent: Thursday, June 30, 2005 7:48 AM Subject: [Zope] how to get info about an object (dir/type)
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.
You can create a small utility external method to call dir() and type() (very useful!) Jonathan