如何在word文件中的特定标题下提取段落/部分?

时间:2018-02-28 03:31:02

标签: python ms-word

这是我的情况: 我有一个像这样的.doc文件:

Headline 1

headline 1.1
paragraph paragraph paragraph paragraph

headline 1.2
paragraph paragraph paragraph paragraph




Headline 2

headline 2.1
paragraph paragraph paragraph paragraph

headline 2.2
paragraph paragraph paragraph paragraph

我想提取整个标题1部分,如何使用python进行创建?

0 个答案:

没有答案