January 2019
Beginner
318 pages
8h 23m
English
In this section, we are going to learn about how to work with PDF files using Python modules. PDF is a widely used document format and PDF files have .pdf extensions. Python has a module named PyPDF2, that's useful to do various operations on pdf files. It is third-party module which is a Python library built as a PDF toolkit.
We must install this module first. To install PyPDF2, run the following command in your Terminal:
pip3 install PyPDF2
Now, we are going to look at some of the operations to work on PDF files, such as reading a PDF, getting the number of pages, extracting text, and rotating PDF pages.
Read now
Unlock full access