count pages in a pdf

belred at belred at
Tue Nov 27 17:43:39 CET 2007

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.

thanks for any recommendations.


More information about the Python-list mailing list