Ms Office Word Python

Use when reading, writing, transforming, or converting Word documents from Python — .docx (python-docx, docx2txt, mammoth, pypandoc), .docm (macro-enabled — handled with explicit user intent), .doc legacy (LibreOffice headless or antiword), or generating PDF (docx2pdf on Windows/macOS, LibreOffice headless on Linux, pypandoc + xelatex/wkhtmltopdf). Covers OOXML XXE defence, full-fidelity caveats (python-docx is NOT a 100% renderer), and macro handling. Part of the ms-office-python-* skill family.

joogy06 6bb3487 13.3 KB Updated

File contents

joogy06/agent-foundry/tree/main/skills/ms-office-word-python commit 6bb348725b

Frequently asked questions

npx skillmds@latest add joogy06/ms-office-word-python