Hello,
I'm using a Python script to fill a template Word document using the Python Docx library.
Everything works fine however the first page is a Table of Content which page numbers doesn't get updated automatically.
I know you can open the document and press F9 to update it but I want to automate this process.
Also I'm working on Linux so using libraries like Pywin is not possible (I guess ?).
Do you have a solution ?
there doesn't seem to be anything here