Read contents of a pdf file
Is there a commandline tool t开发者_StackOverflow中文版o read a pdf file on linux.Please indicate the appropriate urls for this.
Thanks..
Xpdf and Poppler contain the commandline-utility pdftotext
wich converts PDF files to plain text.
Not a command line tool but a pdf reading and generation framework
- http://www.reportlab.com/software/opensource/
you should also be able to write a simple reader using
- http://pybrary.net/pyPdf/
- http://code.activestate.com/recipes/511465-pure-python-pdf-to-text-converter/
you can also look at:
- http://www.unixuser.org/~euske/python/pdfminer/index.html
There is PyODConverter. It uses OpenOffice working as a service and can convert between various document formats including PDF and simple text.
精彩评论