In this chapter we took a whirlwind tour of COM. We covered the
important COM concepts and how they relate to Python and the Python
COM package. We discussed the differences between COM interfaces and
COM automation objects that expose an object model using the
pythoncom module and the
win32com package were introduced, and we discussed
how to use COM objects from Python and how to use native COM
interfaces from Python.
Implementing COM objects using Python was discussed in detail. We covered some simple examples and covered some advanced topics, such as wrapping and unwrapping your COM objects, PythonCOM policies, and how to debug your COM servers.
Finally, we showed you how you can distribute your Python COM objects across various machines on your network using DCOM.