python---word表格樣式設置

一、word表格樣式的設置python from docx import * document = Document() table = document.add_table(3, 3, style="Medium Grid 1 Accent 1") heading_cells = table.rows[0].cells heading_cells[0].text = '第一列內容' headin
相關文章
相關標籤/搜索