摘要: import MySQLdb # 打开数据库连接 db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB", charset='utf8',port = 3306) # 使用cursor()方法获取操作游标 cursor = 阅读全文
posted @ 2022-02-16 16:44 CodeYaSuo 阅读(38) 评论(0) 推荐(0) 编辑