How to Work With a PDF in Python (Overview)

The Portable Document Format or PDF is a file format that can be used to present and exchange documents reliably across operating systems. While the PDF was originally invented by Adobe, it is now an open standard that is maintained by the International Organization for Standardization (ISO). You can work with a preexisting PDF in Python by using the PyPDF2 package.

PyPDF2 is a pure-Python package that you can use for many different types of PDF operations.

By the end of this course, you’ll know how to:

  • Extract document information from a PDF in Python
  • Rotate pages
  • Merge PDFs
  • Split PDFs
  • Add watermarks
  • Encrypt a PDF
Download

Course Slides (.pdf)

153.8 KB
Download

Sample Code (.zip)

2.7 KB
Download

Course Documents (.zip)

3.4 MB

dungdh286 on Feb. 26, 2020

thank you, this course very helpfull and interesting !

Become a Member to join the conversation.