Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python paackage pdf to string or text library

from PyPDF2 import PdfReader

reader = PdfReader("example.pdf")
text = ""
for page in reader.pages:
    text += page.extract_text() + "
"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #paackage #pdf #string #text #library
ADD COMMENT
Topic
Name
9+8 =