[Python] How can we resolve a comment in a docx file using lxml

Discussão em 'Python' iniciado por Stack, Maio 9, 2025.

  1. Stack

    Stack Membro Participativo

    I have been working with Python docx and lxml to build a backend that can add comment, to specific texts and then resolve those comments. I have successfully managed to add comments but i am having issues in resolving them. I looked into the docx files opening them as zip and found it uses done attribute but even on updating that using lxml has not worked. Any help I can get to solve that?

    PS: i also need help in adding replies to comments. Right now they get added as seperate comment even though i pass the parent comment id.

    Continue reading...

Compartilhe esta Página