摘要:
1 import openpyxl 2 import sys 3 import re 4 5 wb_temp = openpyxl.load_workbook("E:\Projects\work_11_25\\Utility機種対応知能化\\Utility機種対応仕様.xlsx") 6 wb_inf 阅读全文
摘要:
txt=open(r'test.txt') lines=[] flag=False # 立flag for line in txt: if line.strip()=="start line": flag=True # 起始行开始不再添加 if not flag: lines.append(line 阅读全文