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 - 1 Verified Review

Total
ease
features
design
support

Company Details

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

Media

python-docx Screenshot 1
Recommended Products
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download

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
  • Name: Anonymous (Verified)
    Job Title: Principal Software Engineer
    Length of product use: 1-2 Years
    Used How Often?: Daily
    Role: User
    Organization Size: 100 - 499
    Features
    Design
    Ease
    Pricing
    Support
    Likelihood to Recommend to Others
    1 2 3 4 5 6 7 8 9 10

    Edit Word docs with Python

    Date: Aug 02 2022

    Summary: Python-docx is a life-saver if you need to create a large number of Word documents programmatically. It can format text, add media, and save files, all for free.

    Positive: - creates and updates Microsoft Word docs using Python
    - powerful API is able to add pictures, tables, paragraphs, etc.
    - can really save time if you need to programmatically create documents using a script
    - easy to get started
    - free

    Negative: - documentation is a little barebones, especially when it comes to advanced features

    Read More...
  • Previous
  • You're on page 1
  • Next