因为其他的常用 package 无法满足需求,只能使用 com,但是貌似 com 的接口和 pywin32 不是完全一致,求问怎么查看 pywin32 提供的 API 接口呢,官网没有提供文档,dir() 和 help() 也不够用。
举个例子
app = DispatchEx('Excel.Application')
book = app.Workbooks.Open('my_file.xls)
sheet = book.Worksheets('sheet1')
# calculate coordinates
sheet.Shapes.AddLine(x1, y1, x2, y2)
我想设置 line 的属性,但是不知道相关接口是什么。