Does anyone have actual experience with pypdf with version 3.x python ?

Maybe I am confused, but looked like only a 2.x version is available.

thanks

Pypdf claims to have a py3k compatible branch (read the section 'Source Code Repository') The repository is here. Try it and let us know if it works with your version of python 3.

Thanks for the link. There is a readme file that has a main program to test the pyPdf library functions. After a few stumbles I was able to get it working.

The pdf.py has a from .generic import .... statment that was missing import of RectangleObject in its list.

In the readme script, I replaced the file( .., ..) with open, didn't understand file( )

So, it did produce the output file and count the pages. I can say this rudimentary test works.

commented: thanks +13
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.