Conteúdo do Curso
Manipulating and Combining PDFs
Manipulating and Combining PDFs
Swipe to show menu
PdfWriter
PdfWriter
is a class in PyPDF2
library that provides a way to create or manipulate PDF files. It allows developers to add, remove or modify the contents of a PDF document. PdfWriter
is useful for automating the creation of PDF files, merging multiple PDF files, and modifying existing PDF documents in Python.
Tarefa
Swipe to show code editor
- Create a merger object as instance
PdfWriter()
; - Merge two PDFs together using the
.append()
method ofPdfWriter
; - Write merged PDFs to a file called
merged_pdf
.
Solução
Mark tasks as Completed
Mude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
AVAILABLE TO ULTIMATE ONLY