11 lines
208 B
Python
11 lines
208 B
Python
|
|
import pypdf
|
||
|
|
import sys
|
||
|
|
|
||
|
|
try:
|
||
|
|
reader = pypdf.PdfReader("/tmp/clearceram_z_hs.pdf")
|
||
|
|
for page in reader.pages:
|
||
|
|
text = page.extract_text()
|
||
|
|
print(text)
|
||
|
|
except Exception as e:
|
||
|
|
print(e)
|