摘要: import pymysqldb = pymysql.connect(host='localhost', user='root', password='123456', database='test',port=3306)cursor = db.cursor()# 方式1:Python的字符串格式化 阅读全文
posted @ 2021-06-16 19:50 隐忍沙丘 阅读(342) 评论(0) 推荐(0) 编辑