This COM object can not automate the makepy process - please run makepy manually for this object
Python使用COM接口时的错误
import win32com.client as win32
word = win32.gencache.EnsureDispatch('Word.Application')
报错:This COM object can not automate the makepy process - please run makepy manually for this object
修改为:
word = win32.DispatchEx('Excel.Application')