python中查找excel某一列的重复数据 剔除之后打印

blacktitann 22 0 PDF 2020-12-31 00:12:55

1.在python中excel的简单读写操作,推荐使用xlrd(特别是读操作) 2.到http://pypi.python.org/pypi/xlrd 去下载 xlrd库; 3.工程代码如下: 复制代码 代码如下: import xlrd def open_excel(fileName=”simple.xls”): try: fileHandler = xlrd.open_workbook(fileName) return fileHandler except Exception, e:

用户评论
请输入评论内容
评分:
暂无评论