Test processing with tables
This commit is contained in:
parent
d9abf9f19e
commit
aca3f94396
9
src/tables.py
Normal file
9
src/tables.py
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import pdfplumber
|
||||||
|
|
||||||
|
with pdfplumber.open("./../1031 THO SC CNDR.pdf") as pdf:
|
||||||
|
for page_number, page in enumerate(pdf.pages, start=1):
|
||||||
|
tables = page.extract_tables()
|
||||||
|
for table in tables:
|
||||||
|
print(f"Table on page {page_number}: ")
|
||||||
|
for row in table:
|
||||||
|
print(row[0])
|
Loading…
Reference in New Issue
Block a user