Skip to content

MetaPdfReader().read_metadata(read('1984.pdf', 'rb')) read is not defined #1

Description

@pilamb

Hello,

Thanks for you great work, but the example you give does not work
I tried to do os.read instead of just read and it does not work as well.

If i try to os.open the file and pass the file descriptor to your code, doesnt work as well.

Also, line 16 provoces an error: str has no atribute "seek" as a pdf does not have this attribute.

I really would appreciate better examples, or documentation since google lacks on info on your code.

Thanks ahead

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