Python office编程:word和PowerPoint

安装python-dockpython From docx import Documentide 打开、新建word文档字体 新建文档:document=Document()spa Document.save(‘filename.docx’)code 添加文本:text=document.add_paragraph(‘content of the paragraph’)对象 更改项目符号:text
相关文章
相关标签/搜索