Create and update Microsoft Word .docx files.
python-docx is a Python library for creating and updating Microsoft Word (.docx) files.
More information is available in the python-docx documentation.
- Round-trip .docx file, preserving all parts and relationships
- Load default “template” .docx on open with no filename
- Open from stream and save to stream (file-like object)
- Add paragraph at and of document
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.