日志11月17日

今天比较忙,没时间学编程,学了一个数据库插入操做:python import MySQLdb # 打开数据库链接 db = MySQLdb.connect("localhost", "testuser", "test123", "TESTDB", charset='utf8' ) # 使用cursor()方法获取操做游标 cursor = db.cursor() # SQL 插入语句 sq
相关文章
相关标签/搜索