位置:首頁(yè) > 軟件操作教程 > 編程開(kāi)發(fā) > Python > 問(wèn)題詳情

Tcl對(duì)Excel操作在Python 中如何創(chuàng)建com實(shí)例,打開(kāi)工作表?

提問(wèn)人:楊紫紅發(fā)布時(shí)間:2020-11-18

set excel [::tcom::ref createobject "Excel.Application"]

set workbooks [$excel Workbooks]

set workbook [$workbooks Open $filename]

set worksheets [$workbook Worksheets]

繼續(xù)查找其他問(wèn)題的答案?

相關(guān)視頻回答
回復(fù)(0)
返回頂部