Python PDF Handling from Beginner to Winner

Learn How to Learn and Take the Best Out of Python to Control PDFs

  Hugo Ferro

   Python, Development, Programming Languages

Language - English Published on 09/2022

  • Introduction [Part 0 of 14]
  • Visual Studio Code Extensions [Part 1 of 14]
  • Install PyMuPDF [Part 2 of 14]
  • Get Number of Pages [Part 3 of 14]
  • Get Document Info [Part 4 of 14]
  • Get Text from Pages [Part 5 of 14]
  • Get Images from Pages [Part 6 of 14]
  • Get URLs from Pages [Part 7 of 14]
  • Make Images from Pages [Part 8 of 14]
  • Scale Pages [Part 9 of 14]
  • Rotate Pages [Part 10 of 14]
  • Split Pages [Part 11 of 14]
  • Merge Pages [Part 12 of 14]
  • Crop Pages [Part 13 of 14]
  • Add Watermark [Part 14 of 14]


Welcome to Python PDF Handling from Beginner to Winner! A great course on Manipulating PDF files!

Together we will learn, explore and have fun taking the most out of Python and several Python Modules to read/modify PDF documents.

Each session will be composed by several challenges that we will solve by exploring the available documentation, reading Python Modules source code and also debugging. By the end you will be able to unravel from situations where you cannot find help anywhere else! Sounds good right?

After taking the first session you will know how to:

  • Get the total number of pages of a PDF document;
  • Get its metadata, author, title, table of content;
  • Extract text from a PDF file and write it into a txt file;
  • Extract images from a PDF file and save it into a png file;
  • Read hyperlinks from a PDF document;
  • Take snapshots from pages and save them as png files;
  • Change pages paper size from A4 portrait, A4 landscape, and others;
  • Rotate the pages from a PDF file;
  • Split odd from even pages so it would be easier to print them;
  • Join together pages from several PDF files into a new PDF document;
  • Change pages visible area, crop the pages;
  • And add watermarks to PDF pages.

Sounds already fun right? 

Do you know that we can have input forms in a PDF file? And that we can add JavaScript functionalities to a PDF file? Yeah we will do that too! 

Join with me to this great challenge that is learning!

What Will I Get ?

  • Get PDF Metadata
  • Scale, Rotate, Split, Merge, Crop Pages
  • Get PDF Images
  • Get PDF Text
  • Get PDF Hyperlinks
  • Add Watermarks


  • Basic Knowledge about Python;
  • You need Python 3.8.x or later;
  • Visual Studio Code (Recommended);
  • Visual Studio Code "Python from Microsoft" and "Pylance from Microsoft" extensions;
  • Eager to learn.

    Feedbacks (0)

  • No Feedbacks Posted Yet..!

We make use of cookies to improve our user experience. By using this website, you agree with our Cookies Policy.