> Python interface only invokes method without attributes, when
> called without
> brackets:
>
> i.e: "ref.Update()" does not work, while "ref.Update" does invoke correct
> _method_
>
>  The code is not using Makepy,

The problem is that the object is being asked to invoke a *property* named
Foo, but is treating it as a method call.  Python is more sensitive to this
than VB.  The solution is generally to use makepy, but using it via
win32com.client.gencache.EnsureDispatch() is generally more convenient, in
that it doesn't require any manual steps.

Hope this helps,

Mark.

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to