mfenniak/pyPdf — Issue #32: RectangleObject import missing & file handling workaround
Author: sebastian-e-dox
Created: 2011-10-17 15:10:25+00:00
State: open

I use pyPdf with Python 3.2 on my Windows machine and just got some errors I could resolve:

first one was the opening of a PDF file with the PdfFileReader. I used the code
```Python
file = open("PATH_WITH_FILE_AND_EXTENSION", "rb")
doc = PdfFileReader(file)```

The second thing I discovered was that the pdf.py misses the RectangleObject import from the generic.py file. So just add it.