//在用jxl读入excel时,一直报如下错误: Warning: Cannot read drop down range Unrecognized token 43 Exception in thread "main" java.lang.NullPointerExceptionat jxl.biff.DataValiditySettingsRecord.getFirstColumn(DataValiditySettingsRecord.java:237)at jxl.read.bi…
使用POI导出xls文件,由于数据过多,导致导出xls报错如下: The maximum number of cell styles was exceeded. You can define up to 4000 styles in a .xls workbook 原因: 代码中创建 HSSFCellStyle cellStyle = hssfWorkbook.createCellStyle(); 次数过多,导致报错. 解决方法: 把创建HSSFCellStyle对象放在循环之外,或者放在全局,…
python 读取csv文件报错问题 import csv with open('E:/Selenium2script/DDT模块/test.csv','rb') as f: readers = csv.reader(f) next(readers,None) for line in readers: print(line) 输出:_csv.Error: iterator should return strings, not bytes (did you open the file in tex…