Tagged articles
5 articles
Page 1 of 1
Python Programming Learning Circle
Python Programming Learning Circle
Jan 7, 2022 · Fundamentals

Using python-docx: Document Structure and Basic Operations

This article introduces the python‑docx library, explains its document model—including Document, Paragraph, Run, and Table objects—and provides practical Python code examples for creating, modifying, and styling Word documents, inserting headings, page breaks, tables, and images.

Code ExampleDocument ProcessingWord Automation
0 likes · 6 min read
Using python-docx: Document Structure and Basic Operations
Python Programming Learning Circle
Python Programming Learning Circle
Oct 25, 2019 · Backend Development

Automate Word with Python: Master win32com for Document Manipulation

This tutorial explains how to use Python's win32com library to control Microsoft Word, covering installation, creating and displaying documents, working with Selection, Range, Font, ParagraphFormat, PageSetup and Styles objects, and providing a complete example that formats a document to meet national standards.

COMDocument ProcessingPython automation
0 likes · 14 min read
Automate Word with Python: Master win32com for Document Manipulation