python xlrd文件
import xlrd data = xlrd.open_workbook('question_produ.xlsx') table = data.sheets()[0] # 第1个sheet nrows = table.nrows # 获取行数 for i in range(nrows): if i == 0: continue print((table.row_values(i))) print('========================================')