摘要: from docx import Document w=Document() #添加页眉页脚 页眉=w.sections[0].header 段落=页眉.paragraphs[0].add_run('这是第一节页眉') 页脚=w.sections[0].footer 段落=页脚.paragraphs 阅读全文
posted @ 2020-07-10 13:10 马蹄哒哒 阅读(319) 评论(0) 推荐(0)