Python 3 Script to Convert PDF Document to MS Excel (XLSX) Using tabula-py Library

Python 3 Script to Convert PDF Document to MS Excel (XLSX) Using tabula-py Library

Python 3 Script to Convert PDF Document to MS Excel (XLSX) Using tabula-py Library

# Import Module
import tabula

# Read PDF File
# this contain a list
df = tabula.read_pdf("PDF File Path", pages = 1)[0]

# Convert into Excel File
df.to_excel('Excel File Path')
Share on:

Hi, I'm Ranjith a full-time Blogger, YouTuber, Affiliate Marketer, & founder of Coding Diksha. Here, I post about programming to help developers.

Leave a Comment