count pages in a pdf

Jon Ribbens jon+usenet at unequivocal.co.uk
Tue Nov 27 18:30:01 CET 2007


On 2007-11-27, belred at gmail.com <belred at gmail.com> wrote:
> is it possible to parse a pdf file in python?  for starters, i would
> like to count the number of pages in a pdf file.  i see there is a
> project called ReportLab, but it seems to be a pdf generator... i
> can't tell if i would be able to parse a pdf file programmically.

http://pybrary.net/pyPdf/



More information about the Python-list mailing list