PDF to TEXT by Python3
#Python3 #!pip install pdfminer from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter from pdfminer.pdfpage import PDFPage from pdfminer.converter import TextConverter from pdfminer.layout import LAParams from io import StringIO def pdf_to_text(pdfname): # PDFMiner boilerplate rsrcmgr = PDFResourceManager() sio = StringIO() codec = 'utf-8' laparams = LAParams() device = TextConve..
Devolopment/Python
2021. 5. 10. 18:01
반응형
최근에 달린 댓글