At the moment I\'m looking into doing some PDF merging with pyPdf, but sometimes the inputs are not in the right order, so I\'m looking into scraping each page for its page
The following worked for me:
from PyPDF2 import PdfFileReader pdf = PdfFileReader(open('path/to/file.pdf','rb')) pdf.getNumPages()