2019年12月23日

excel读取表,并将结果保存为键值对的字典列表;

摘要: import xlrdpath="D:\\study\\python\\study1212\\member_info.xlsx"a=xlrd.open_workbook(path) #打开excel文件#print(dir(xlrd))#print(dir(a))shn=len(a.sheets() 阅读全文

posted @ 2019-12-23 23:11 星空6 阅读(1247) 评论(0) 推荐(0)

python读取excel表,xlrd可读取.xls,.xlxs格式的;

摘要: 可以参考:http://www.python-excel.org import xlrdpath="D:\\study\\python\\study1212\\member_info.xlsx"a=xlrd.open_workbook(path) #打开excel文件#print(dir(xlrd) 阅读全文

posted @ 2019-12-23 22:25 星空6 阅读(1002) 评论(0) 推荐(0)

导航