Python 读取xlsx表格

#!/usr/bin/python -- coding: UTF-8 -- import xlrd from datetime import date,datetime file = ‘cc.xlsx’ #需要读取的文件 def read_excel(): wb = xlrd.open_workbook(filename=file)#打开文件 print(wb.sheet_names()) #获取
相关文章
相关标签/搜索