Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RectangleObject import missing & file handling workaround #32

Open
sebastian-e-dox opened this issue Oct 17, 2011 · 0 comments
Open

RectangleObject import missing & file handling workaround #32

sebastian-e-dox opened this issue Oct 17, 2011 · 0 comments

Comments

@sebastian-e-dox
Copy link

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

 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant