Tag

docx

1 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Sep 2, 2024 · Fundamentals

Python‑docx Guide: Extract, Create, and Manipulate Word Documents

This tutorial demonstrates how to use the python‑docx library to extract text and images, create new documents, replace content, add pictures, build and fill tables, delete paragraphs, set styles, and insert headers and footers in Word files, providing ready‑to‑run code examples for each operation.

AutomationPythondocx
0 likes · 6 min read
Python‑docx Guide: Extract, Create, and Manipulate Word Documents
Python Programming Learning Circle
Python Programming Learning Circle
Jan 30, 2024 · Fundamentals

pdf2docx: Convert PDF to DOCX with Python – Features, Limitations, Installation, and Example

This article introduces the pdf2docx Python library for converting PDF files to DOCX, detailing its capabilities such as layout, paragraph, image, and table parsing, outlining current limitations, providing installation instructions, and showing a concise code example for practical use.

PDF conversionPythondocx
0 likes · 3 min read
pdf2docx: Convert PDF to DOCX with Python – Features, Limitations, Installation, and Example
Python Programming Learning Circle
Python Programming Learning Circle
May 24, 2023 · Fundamentals

pdf2docx: Python Library for Converting PDF Files to DOCX with Features, Limitations, Installation, and Example

The pdf2docx library uses PyMuPDF and python-docx to extract PDF layouts, paragraphs, images, and tables, offering multi‑process conversion while noting current limitations such as lack of OCR and support for only left‑to‑right languages, and provides simple pip installation and a code example.

PDFPyMuPDFPython
0 likes · 3 min read
pdf2docx: Python Library for Converting PDF Files to DOCX with Features, Limitations, Installation, and Example
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2021 · Backend Development

Batch Generating Word Documents from Excel Using Python: Two Solutions with python-docx and zipfile

This article demonstrates how to automate the replacement of placeholders in Word (.doc/.docx) files with data from an Excel sheet using Python, presenting two approaches—one based on python-docx and win32com, and another that manipulates the underlying zip archive with the zipfile module—while addressing common pitfalls and preserving document formatting.

AutomationExceldocx
0 likes · 11 min read
Batch Generating Word Documents from Excel Using Python: Two Solutions with python-docx and zipfile
Python Programming Learning Circle
Python Programming Learning Circle
Nov 27, 2021 · Fundamentals

Python Application for Automatically Generating Elementary Arithmetic Worksheets

This article introduces a Python‑based tool that lets parents or educators configure ranges and operators to automatically create up to three‑step arithmetic problems for primary‑school students, outputting the worksheets as DOCX files ready for printing.

Arithmeticdocxeducation
0 likes · 3 min read
Python Application for Automatically Generating Elementary Arithmetic Worksheets
Python Programming Learning Circle
Python Programming Learning Circle
Aug 26, 2021 · Backend Development

Convert Word .docx Files to HTML or Markdown Using Python Mammoth

This tutorial shows how to install the Python Mammoth library and use its command‑line interface or Python API to transform .docx Word documents into HTML web pages or Markdown files for easy sharing and publishing.

MarkdownPythoncli
0 likes · 3 min read
Convert Word .docx Files to HTML or Markdown Using Python Mammoth