Die Suche ergab 1 Treffer

von katherineamt
Montag 12. November 2018, 09:17
Forum: Python mit anderen Sprachen verwenden
Thema: Warning message from tika python module using the unpack method
Antworten: 1
Zugriffe: 3925

Warning message from tika python module using the unpack method

I'm currently using tika to extract the text from pdf files. I found a very fast method within the tika module. This method is called unpack. This is my code:

from tika import unpack

text = unpack.from_file('example.pdf')['content']
However, once in a while (not always!) I get this warning ...