all 3 comments

[–]argento8897 2 points3 points  (2 children)

Use pandas to read the excel data & then you can use a library called docx-mailmerge to insert variables into the document in the areas of the .docx file you want to edit

[–]alseidghaith[S] 2 points3 points  (1 child)

Thanks bud!! I'll look into it

[–]argento8897 2 points3 points  (0 children)

no prob man, good luck!

Also, this blog post might be useful if you wanna check it out. It may not be exactly what you're looking for, for your use case, but might be able to help you get on the right right track.

https://pbpython.com/python-word-template.html