python解析excel
代码说明:
解析读取excel工具,主要用于跟excel文件相关的处理,能根据需求读取excel相关key的值,eg:#useAge:#import excelReader#reader = excelReader.getReader();#reader.Read(excelPath);#excelInfo = reader.GetExcelInfoByPathAndSheetName(excelPath,"Main");#excelRows = excelInfo.GetExcelRows();#for row in excelRows:# rowCells = row.GetRowCells();# for cell in rowCells:# print("key = %s,v = %s,type=%s"%(cell.GetKey(),cell.GetValue(),cell.GetType()));
下载说明:请别用迅雷下载,失败请重下,重下不扣分!