The Python Papers

The Python Papers

Splitting and Merging PDFs with Python

Mike Driscoll's avatar
Mike Driscoll
Jul 02, 2024
∙ Paid
8
3
Share

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…

Keep reading with a 7-day free trial

Subscribe to The Python Papers to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Mike Driscoll
Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture