“PDF для преобразования Excel с помощью Python” Ответ

PDF для преобразования Excel с помощью Python

pip install git+https://github.com/pdftables/python-pdftables-api.git
Funny Fish

Преобразовать PDF в Excel Python

# 1. Download and install java
# 2. Install python library 'tabular-py' using pip
pip install tabula-py
# If this is the first time installing java and tabula-py 
# add your Java installation folder to the PATH variable.
# if you don't, this is the error message you'll get.
tabula.errors.JavaNotFoundError: `java` command is not found from this 
Python process.Please ensure Java is installed and PATH is set for `java`
# 3. Import and run the tabula function on the desire page on the pdf file.
import tabula
df = tabula.read_pdf('data.pdf', pages = 3, lattice = True)[1]
Kwams

Ответы похожие на “PDF для преобразования Excel с помощью Python”

Вопросы похожие на “PDF для преобразования Excel с помощью Python”

Больше похожих ответов на “PDF для преобразования Excel с помощью Python” по Python

Смотреть популярные ответы по языку

Смотреть другие языки программирования