a = [['ods_tppj_qylbjjgxxb_bd', ' all ', ' tppjbj', '?PJ_QYLBJJGXXB_BD', ' 0', ' 2018-05-10'], ['ods_tppj_repair_group_relation', '?all ', ' tppjbj', ' REPAIR_GROUP_RELATION', ' 0', ' 2018-05-10'],?['ods_tppj_repair_local_hour_grade', ' all ', ' tppjbj', '?REPAIR_LOCAL_HOUR_GRADE', ' 0', ' 2018-05-09'], ['ods_tppj_repair_std_item', '?all ', ' tppjbj', ' REPAIR_STD_ITEM', ' 0', ' 2018-05-09'],?['ods_tppj_repair_std_item_small', ' all ', ' tppjbj', ' REPAIR_STD_ITEM_SMALL',?' 0', ' 2018-05-09'], ['ods_tppj_series_grade_rel_sm', ' all ', ' tppjbj', '?SERIES_GRADE_RELATION_SMALL', ' 0', ' 2018-05-09'],?['ods_tppj_series_grade_relation_small', ' all ', ' tppjbj', '?SERIES_GRADE_RELATION_SMALL', ' 0', ' 2018-05-09'], ['ods_tppj_zc_clppxxb', '?all ', ' tppjbj', ' ZC_CLPPXXB', ' 0', ' 2018-05-09'], ['ods_tppj_zc_clzlb', '?all ', ' tppjbj', ' ZC_CLZLB', ' 0', ' 2018-05-09']]b = [['ods_tppj_qylbjjgxxb_bd', ' all ', ' tppjbj', '?PJ_QYLBJJGXXB_BD', ' 0', ' 2018-05-10'], ['ods_tppj_repair_group_relation', '?all ', ' tppjbj', ' REPAIR_GROUP_RELATION', ' 0', ' 2018-05-10'],?['ods_tppj_repair_local_hour_grade', ' all ', ' tppjbj', '?REPAIR_LOCAL_HOUR_GRADE', ' 0', ' 2018-05-10'], ['ods_tppj_repair_std_item', '?all ', ' tppjbj', ' REPAIR_STD_ITEM', ' 0', ' 2018-05-10'],?['ods_tppj_repair_std_item_small', ' all ', ' tppjbj', ' REPAIR_STD_ITEM_SMALL',?' 0', ' 2018-05-10'], ['ods_tppj_series_grade_rel_sm', ' all ', ' tppjbj', '?SERIES_GRADE_RELATION_SMALL', ' 0', ' 2018-05-10'],?['ods_tppj_series_grade_relation_small', ' all ', ' tppjbj', '?SERIES_GRADE_RELATION_SMALL', ' 0', ' 2018-05-10'], ['ods_tppj_zc_clppxxb', '?all ', ' tppjbj', ' ZC_CLPPXXB', ' 0', ' 2018-05-10'], ['ods_tppj_zc_clzlb', '?all ', ' tppjbj', ' ZC_CLZLB', ' 1000', ' 2018-05-10']]c = []以上a,b兩個(gè)列表,除了時(shí)間不同,還有時(shí)間前的值不同,其他都一樣,我如何比較這兩個(gè)列表,把b列表和a列表比較的值不一樣的那條數(shù)據(jù)比較出來(lái),然后單獨(dú)放入c列表中
python兩個(gè)列表內(nèi)容比較
qq_Uglypoorpric_0
2018-05-10 23:14:35