xxxxxxxxxx
#!/bin/bash
#!/usr/bin/env python3
import tabula
# Read pdf into list of DataFrame
df = tabula.read_pdf("File1.pdf", pages='all')
# convert PDF into CSV file
tabula.convert_into("File1.pdf", "File1.csv", output_format="csv", pages='all')
# convert all PDFs in a directory
#tabula.convert_into_by_batch("input_directory", output_format='csv', pages='all')