操作excel语法

info_file = xlrd.open_workbook(
OSS_PATH + xlrd_paths + upload_file_name) # 打开excel文件
info_sheet = info_file.sheets()[0] # 通过索引顺序获取工作表
# row_count = info_sheet.nrows  # 获取行数,列数ncols
posted @ 2021-12-21 17:24  一只小泡沫  阅读(53)  评论(0编辑  收藏  举报