gpt4 book ai didi

python - 在python中从PDF中提取所有表格

转载 作者:行者123 更新时间:2023-11-28 17:04:12 25 4
gpt4 key购买 nike

<分区>

我有一个 PDF,想从该 PDF 中提取所有表格。当我运行下面的代码时,我得到空列表。

import pdftables

filepath = 'File_Set_-2_feasibility_Study/140u-td005_-en-p.pdf'
with open(filepath, 'rb') as fh:
table = pdftables.get_tables(fh)
print(table)

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com