How to extract text inserted with track-changes in python-docx

前端 未结 3 2029
误落风尘
误落风尘 2021-01-23 03:19

I want to extract text from word documents that were edited in \"Track Changes\" mode. I want to extract the inserted text and ignore the deleted text.

Running the below

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-23 03:55

    the below code from Etienne worked for me, it's working directly with the document's xml (and not using python-docx)

    http://etienned.github.io/posts/extract-text-from-word-docx-simply/

提交回复
热议问题