Member-only story
How To Edit PDF’s With Python
Welcome back! Python is an awesome programming language with a ton of capability, if you’re new to Python, check out the link below to learn more about it:
So, let’s take a look at how to edit PDF’s with Python! This specific package we’ll be using is PyPDF2, this is a very popular package which allows us to edit PDF’s, here is their website if you would like to learn more about it:
If you want to install this Python package, here is the pip command to do so:
pip install PyPDF2
Using this package is very easy, let’s do a basic breakdown of the functions within this package, we can import this package like this:
from PyPDF2 import PdfFileReader
At this point, we can begin to use the PdfFileReader function to handle our PDF’s, we can create a…