Extracting PDF metadata in Python 3 -


what best module or easy script metadata pdf files? seems python 2.7 or module wont work. need python 3.4.2 work.

https://pypi.python.org/pypi/pdfminer/ = python 2.7 

with pypdf2:

with: print(input1.getdocumentinfo()) keep getting errors:

raise utils.pdfreaderror("file has not been decrypted") pypdf2.utils.pdfreaderror: file has not been decrypted 


tips or help?
thanks

by of error mesaage trying read encrypted pdf file. until provide decryption password won't out of file.

if want python 3 version of pdfminer try pdfminer3k, claims python 3 port.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -