Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
PdfWriter | Manipulating and Combining PDFs
Manipulating and Combining PDFs
course content

Course Content

Manipulating and Combining PDFs

bookPdfWriter

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.

Task
test

Swipe to show code editor

  1. Create a merger object as instance PdfWriter();
  2. Merge two PDFs together using the .append() method of PdfWriter;
  3. Write merged PDFs to a file called merged_pdf.

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

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.

Task
test

Swipe to show code editor

  1. Create a merger object as instance PdfWriter();
  2. Merge two PDFs together using the .append() method of PdfWriter;
  3. Write merged PDFs to a file called merged_pdf.

Mark tasks as Completed
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 4
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt