Python Programming/MS Word

Microsoft Word documents of the .docx format can be created or changed using python-docx 3rd party module.

The .doc format can be worked with on Windows using PyWin32 via COM interface, provided Word is installed. An example: