Pdfminer python 3.5

后端 未结 4 1263
误落风尘
误落风尘 2020-12-14 17:54

I have followed a few tutorials around but I am not able to get this code block to run, I did the necessary switches from StringIO to BytesIO (I believe?)

I am unsur

4条回答
  •  星月不相逢
    2020-12-14 18:03

    There is a solution for Python 3.5: you need pdfminer.six. Under win10 I could easy install it with

    pip install pdfminer.six
    

    You can check the installed version with

    pdfminer.__version__
    

    I haven't tested it intensively yet. But I could run the following code for the conversion pdf→text and pdf→html

提交回复
热议问题