12345678910 |
- #-*- conding: utf-8 -*-
- import tabula
- path = 'D:/mydocument/myproject/git/busscredit/闻海雁532329198801060347.pdf'
- df = tabula.read_pdf(path, encoding='utf-8', pages='all')
- print(df)
- for indexs in df.index:
- # 遍历打印企业名称
- print(df.loc[indexs].values[1].strip())
|