Python Automation Scripts You Should Know - read pdf

PHOTO EMBED

Fri Feb 10 2023 16:48:46 GMT+0000 (Coordinated Universal Time)

Saved by @saimohan35 #python

import tabula

filename = input("Enter File Path: ")
df = tabula.read_pdf(filename, encoding='utf-8', spreadsheet=True, pages='1')

df.to_csv('output.csv')
content_copyCOPY

https://www.freecodecamp.org/news/python-automation-scripts/