We are trying to use the API of a Win32 app which presents the API as a COM interface. The sample VB code for getting and setting the values of custom data fields on an object shows a method named Value():
getter obj.Value("myfield") setter obj.Value("myfield") = newvalue Using Python 2.5 and PythonWin we can get data from data fields using the identical syntax >>> print comp.Value("Phone1") 99080980 However the set value fails (unsurprisingly) >>> comp.value("Phone1") = "6876876876" SyntaxError: can't assign to function call Does anyone have any idea how to use Python to address this type of method signature? Would MakePy allow us to see how we should be calling it? All suggestions welcome! -- http://mail.python.org/mailman/listinfo/python-list