摘要: import os import re def print_all_file_path(init_file_path, keyword): for cur_dir, sub_dir, included_file in os.walk(init_file_path): if included_file 阅读全文
posted @ 2021-04-22 15:40 阿瑶丫 阅读(1697) 评论(0) 推荐(0) 编辑
摘要: import xlrd #打开Excel文件读取数据('文件所在路径') data = xlrd.open_workbook(r'aa.xlsx') #根据sheet索引获取sheet内容 sheet = data.sheet_by_index(0) #获取行数 sheet_nrows = shee 阅读全文
posted @ 2021-04-22 11:46 阿瑶丫 阅读(4529) 评论(0) 推荐(0) 编辑