Scripting >> Python >> 3.x >>  How to use python-docx module to work with Microsoft Word documents

Reference website https://python-docx.readthedocs.io/en/latest/index.html

install

pip install python-docx