The Python Papers

The Python Papers

Splitting and Merging PDFs with Python

Mike Driscoll's avatar
Mike Driscoll
Jul 02, 2024
∙ Paid

The PyPDF2 package allows you to perform many useful operations on existing PDFs. In this article, we will learn how to split a single PDF into multiple smaller ones and how to join a series of PDFs back together into a single PDF.

Note: PyPDF2 has undergone tumultuous development over the past 15 years. The current version supports Python 2.7-3.11. It w…

User's avatar

Continue reading this post for free, courtesy of Mike Driscoll.

Or purchase a paid subscription.
© 2025 Mike Driscoll · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture