I am trying to add an hyperlink in a MS Word document using docx module for Python.
I searched everywhere (official doc, StackOverflow, Google) but found nothing.
I would like to do something like:
from docx import Document
document = Document()
p = document.add_paragraph('A plain paragraph having some ')
p.add_hyperlink('Link to my site', target="http://supersitedelamortquitue.fr")
Anyone got an idea on how to do that?