title: Extracting page sizes from PDF in Python
body: <p>I want to read a PDF and get a list of its pages and the size of each page.  I don't need to manipulate it in any way, just read it.</p>
  <p>Currently trying out pyPdf and it does everything I need except a way to get page sizes.  Understanding that I will probably have to iterate through, as page sizes can vary in a pdf document.  Is there another libray/method I can use?</p>
  <p>I tried using PIL, some online recipes even have d=Image(imagefilename) usage, but it NEVER reads any of my PDFs - it reads everything else I throw at it - even some things I didn't know PIL could do.</p>
  <p>Any guidance appreciated - I'm on windows 7 64, python25 (because I also do GAE stuff), but I'm happy to do it in Linux or more modern pythiis.</p>