pythoncom.new

PyIDispatch = new(cls)

Create a new instance of an OLE automation server.

Parameters

cls : CLSID

An identifier for the program. Usually "program.item"

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)