摘要:
>>>cur.execute("select * from 表名") >>>lines=cur.fetchall() >>>for line in lines: print(line) >>>cur.scroll(1) 游标上移一个位置 阅读全文
摘要:
1、cmd pip3 install PyMySQL2、>>>import pymysql3、mysql>create database bookdb character set utf8;4、>>>conn=pymysql.connect(host='localhost',port=3306,us 阅读全文