这是我的情况: 我有一个像这样的.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进行创建?