python-scripts/pdf_to_excel.py

9 lines
205 B
Python
Raw Normal View History

2023-04-04 20:39:55 +02:00
# Import Module
import tabula
# Read PDF File
# this contain a list
df = tabula.read_pdf("preise_national_dhl_2023.pdf", pages=4)[0]
# Convert into Excel File
df.to_excel("preise_national_dhl_2023.xlsx")