摘要: conn = pymysql.connect(host="127.0.0.1", port=3306, user="root", password="root", database="mydatabase", charset="utf8")cur = conn.cursor(cursor=pymys 阅读全文
posted @ 2023-03-09 11:47 dyjnicole 阅读(18) 评论(0) 推荐(0) 编辑
摘要: from operator import itemgetter json_array = [{"time": 20150312, "value": "c"}, {"time": 20150301, "value": "a"}, {"time": 20150305, "value": "b"}]jso 阅读全文
posted @ 2023-03-09 11:45 dyjnicole 阅读(282) 评论(0) 推荐(0) 编辑