pythoncom.new
PyIDispatch = new(cls)
Create a new instance of an OLE automation server.
Parameters
Comments
This is just a wrapper for the CoCreateInstance method. Specifically, this call is identical to:pythoncom.CoCreateInstance(cls, None, pythoncom.CLSCTX_SERVER, pythoncom.IID_IDispatch)