【发布时间】:2021-09-11 13:35:32
【问题描述】:
【问题讨论】:
-
您需要展示您的代码,以便人们可以尝试并找到如何使其工作。见How to Ask。
标签: python ms-word python-docx tableofcontents
【问题讨论】:
标签: python ms-word python-docx tableofcontents
你试过了吗?:
paragraph = document.paragraphs[0].insert_paragraph_before(
"New paragraph here"
)
【讨论】: