wordcom-python - Read and edit live Word documents with Python
Connects Python to a running Microsoft Word instance to inspect document structure, edit anchored content, and render pages or sections.
Tags
Updated: 2026-11-29Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Read document structure
- Edit anchored content
- Batch document changes
- Render pages to PNG
- Preserve user view state
- Group edits into atomic undo
Inputs
- Running Microsoft Word instance
- Open Word document
- Target anchors
- Edit instructions
Outputs
- Document structure data
- Updated Word document
- Rendered PNG images
- Atomic undo entries
Requirements
- Windows operating system
- Python environment
- Microsoft Word installation
- Running Word instance
- COM access
