Commit 9202dafb authored by 张彦钊's avatar 张彦钊

add print

parent 323ffdc2
......@@ -51,12 +51,15 @@ def con_sql(sql):
def queue_compare(old_list, new_list):
# 去掉前面的"diary|"
old_list = list(map(lambda x: int(x[6:]),old_list))
print("旧表前十个")
print(old_list[:10])
print("新表前十个")
print(new_list[:10])
temp = list(range(len(old_list)))
x_dict = dict(zip(old_list, temp))
print(x_dict)
temp = list(range(len(new_list)))
y_dict = dict(zip(new_list, temp))
print(y_dict)
i = 0
for key in x_dict.keys():
if x_dict[key] != y_dict[key]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment