pdf-table-extractor/experiments/main.py

18 lines
393 B
Python
Raw Normal View History

2024-04-27 21:23:40 +00:00
import argparse
import tabula
if __name__ == "__main__":
#parser = argparse.ArgumentParser()
#parser.add_argument("filename")
#args = parser.parse_args()
table = tabula.io.read_pdf(
"../sources/2018_Torres-Benitez_Metabolomic analysis Parmotrema.pdf",
pages=[5],
lattice=False,
multiple_tables=True,
)
print(table)
print("test")