目录 start

  1. Offices文档
    1. Word
    2. Excel
      1. xlrd
      2. pandas

目录 end|2019-10-19 17:04|


Offices文档

Word

Excel


参考: Python-Excel 模块哪家强?

xlrd

Github addr

1
2
3
4
5
6
7
8
9
import xlrd 

data = xlrd.open_workbook('monster.xlsx')
table = data.sheets()[0]
nrows = table.nrows
for i in range(nrows):
for cell in table.row_values(i):
print(cell, ' | ', end='')
print()

pandas

Official Site