title: pyPdf extracting info from IndirectObject
body: <p>I am writing a script that will read the creation and modified dates of pdf files. I am using pyPdf package in Python</p>
  
  <p>I have the following code</p>
  
  <pre><code>from pyPdf import PdfFileWriter, PdfFileReader
  
  input1 = PdfFileReader(file('myfile','rb'))
  
  input1.input1.getDocumentInfo()
  </code></pre>
  
  <p>this code returns</p>
  
  <pre><code>{'/Producer': IndirectObject(185, 0), '/CreationDate': IndirectObject(186, 0), '/ModDate': IndirectObject(186, 0)}
  </code></pre>
  
  <p>I am not sure how to extract the information from these IndirectObject, any help would be appreciated!</p>