comtypes is a pure Python COM package based on the ctypes ffi foreign function library.The comtypes package makes it easy to access and implement both custom and dispatch based COM interfaces.While the pywin32 package contains superior client side support for dispatch based COM interfaces,it is not possible to access custom COM interfaces unless they are wrapped in C++-code.