Generate Word docs from a Python dict. Same idea as a mail merge, driven by Python.
Restart xlwings Lite after saving
# load the template doc = DocxTemplate("template.docx") # keys must match placeholders doc.render({ "distributor_name": "Anna Schmidt", "commission_amount": "$1,234", }) # save doc.save("statement.docx")