def GetClassForProgID(progid):
 clsid = pywintypes.IID(progid)
 return GetClassForCLSID(clsid)

def GetClassForProgID ( progid ) : clsid = pywintypes . IID ( progid ) return GetClassForCLSID ( clsid )
get a python class for a program id given a program id .