python get PDF page count

Discussion created by ryankelley001 on Dec 5, 2011
Latest reply on Dec 6, 2011 by ryankelley001
Having a tough time finding an easy answer to this. We have Report Lab, but haven't had much success getting at this piece. Seems like it should be very easy...

I am appending multiple PDFs and am writing out a TOC for a cover page, but need the number of pages in each PDF I am appending. Any thoughts?

thank you,