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
相关文章
相关标签/搜索