python-docx Description

The library python-docx is designed for manipulating Microsoft Word (.docx) files using Python. In Word documents, paragraphs play a crucial role, serving not only as body text but also for headings and list items like bullets. Users can define both width and height for elements, although it is generally advisable to avoid doing so. When a single dimension is specified, python-docx automatically calculates the other dimension to maintain the aspect ratio, ensuring that images retain their intended appearance without distortion. If you are unfamiliar with Word paragraph styles, it’s worth exploring, as these styles allow you to apply a comprehensive set of formatting options to a paragraph in one go. The library enables users to create new documents or modify existing ones, and while it primarily focuses on making alterations to current documents, starting with an empty file may give the impression of building a document from the ground up. By utilizing this library, users can streamline their workflow in creating and editing Word documents effectively.

Pricing

Pricing Starts At:
Free
Free Version:
Yes

Integrations

API:
Yes, python-docx has an API

Reviews

Total
ease
features
design
support

No User Reviews. Be the first to provide a review:

Write a Review

Company Details

Company:
python-docx
Website:
python-docx.readthedocs.io/en/latest/

Media

python-docx Screenshot 1
Recommended Products
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free

Product Details

Platforms
Windows
Linux
Types of Training
Training Docs
Customer Support
Online Support

python-docx Features and Options

python-docx User Reviews

Write a Review
  • Previous
  • Next