Extracting headings' text from word doc
问题 I am trying to extract text from headings(of any level) in a MS Word document(.docx file). Currently I am trying to solve using python-docx, but unfortunately I am still not able to figure out if it is even feasible after reading it(maybe I am mistaken). I tried to look for the solutions online but found nothing specific to my task. It would be great if someone could guide me here. 回答1: The fundamental challenge is identifying heading paragraphs. There's nothing stopping an author from