Skip to main content
Loading page…
Python Mastery
Chapter 49
Lesson 2 of 4
Word & PDF
Contents
Notes
Tutor
Concept
The Office Document Toolkit
Loading activity…
Previous
1 / 10
Continue
Contents
Notes
Discussion
Tutor
53 min
10 activities
0 of 10 done
In this lesson
1
The Office Document Toolkit
2
Creating a Word Document with python-docx
3
Tables in Word
4
PDF Operations with pypdf
5
Generating PDFs with reportlab
6
Tip: python-docx Template Pattern
7
Choosing the Right PDF Library
8
python-docx & pypdf Concepts
9
Steps to Merge Multiple PDFs
10
Senior Lab: Build, Run, and Review Evidence
Objectives
Learner can create Word documents with paragraphs, headings, and styles using python-docx
Learner can add and populate tables in a Word document
Learner can read, merge, split, and extract text from PDFs using pypdf
Learner can generate a PDF from scratch using reportlab
Learner can build a templated document generation workflow
Further reading
openpyxl documentation
python-docx documentation
pypdf documentation
Pillow documentation
Chapter 49 · Automating Excel, Word, PDF & Images
Excel with openpyxl
Word & PDF
Images with Pillow
An Office-Automation Tool
Previous: Excel with openpyxl
Next: Images with Pillow