摘要:
from openpyxl import * class excel(): def __init__(self,file): self.file = file self.wb = load_workbook(self.file) sheets = self.wb.get_sheet_names() 阅读全文
posted @ 2020-05-06 21:36
__夕颜
阅读(12902)
评论(0)
推荐(1)
摘要:
# 假如 两个字典r1_dic={'a':1,'b':2,'c':3} r2_dic={'c':4,'d':5}若两个字典r1_dic和r2_dic有相同的key则对应的value相加,若没有则直接添加过来。结果为dict={'a':1,'b':2,'c':7,'d':5}方法一 from coll 阅读全文
posted @ 2020-05-06 19:53
__夕颜
阅读(4474)
评论(0)
推荐(0)
浙公网安备 33010602011771号