摘要: 1.字典的集合操作 old_set = set(old_dict.keys())new_set = set(new_dict.keys())#取交集update_set = set(old_set.intersection(new_set))print(update_set) 显示结果:{'m1', 阅读全文
posted @ 2017-05-22 21:54 酷酷的狐狸 阅读(185) 评论(0) 推荐(0) 编辑