Python PyPDF2 — Merge PDF files

Python script that will merge the contents of two PDF files and save it as a new file. To do this we use PyPDF2 which is a Python library that enables users to perform various operations on PDF documents.

In this example the contents of ‘file1.pdf’ will come first within our merged file. Also be sure to subscribe to our YouTube channel for daily coding content.

--

--

Programming - Projects - Source Code available for everything - Scriptopia.co.uk

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store