问题
I want to use ms office communicator client apis, and i wan to use those in python is it possible to do ?
回答1:
>>> import win32com.client >>> msg = win32com.client.Dispatch('Communicator.UIAutomation') >>> msg.InstantMessage('user@domain.com')
回答2:
There is an JSON API to access all office communicator functions via "office communicator web access". You can download a description for that API. But nobody has implemented a module yet. The API is quiet complex.
回答3:
I don't know very well Ms Office communicator but if it exposes a COM interface, you shoudl be able to access it through the Mark Hammond python bindings for COM http://starship.python.net/crew/skippy/
Otherwise, if it exposes a .NET API you should be able to access it with IronPython
I hope it helps
来源:https://stackoverflow.com/questions/2286790/how-can-we-use-ms-office-communicator-client-exposed-apis-in-python-is-that-pos