from docx import Document
from docx.oxml.ns import qn
doc= Document("wordshi.docx")
for p in doc.paragraphs:
for run in p.runs: run.element.rPr.rFonts.set(qn('w:eastAsia'), "宋体")
548k questions
547k answers
4 comments
86.3k users