Commit d7a63021 authored by litaolemo's avatar litaolemo

update

parent 5fc29e90
......@@ -34,7 +34,7 @@ if __name__ == "__main__":
cursorclass=pymysql.cursors.DictCursor)
zhengxing_cursor = db_zhengxing_eagle.cursor()
for count_date in range(0,3):
for count_date in range(0,60):
tag_names_list_week = []
date = datetime.datetime.now().date() - datetime.timedelta(days=count_date)
print(str(date))
......@@ -73,6 +73,7 @@ if __name__ == "__main__":
db.commit()
# print(res)
insert_list = []
print(count)
res = cursor.executemany(insert_sql,insert_list)
db.commit()
print(res)
\ No newline at end of file
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