Skip to content

RectangleObject import missing & file handling workaround #32

@sebastian-e-dox

Description

@sebastian-e-dox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions