How do I get type methods?
yavannadil at yahoo.com
yavannadil at yahoo.com
Thu May 3 15:33:26 EDT 2007
Hello!
If I do
import uno
localContext=uno.getComponentContext()
then localContext is of type <type 'pyuno'>
I guess it's a new type provided by PyUNO extension.
localContext.__class__ is None
Is there any way to list all methods of that new type, via Python C
API or through interpreter (other then dir(localContext) )?
What I want is to call localContext's methods like in the tutorial
example:
x=MyClass()
MyClass.f(x)
Thank you,
Dmitri
More information about the Python-list
mailing list