python操作sql_笔记:Python操作sql
python操作mysql步骤:创建connect连接conn = connect(host='127.0.0.1', port=3306, user='root', password='123456', database='jing_dong', charset='utf8')获得cursor对象cursor = conn.cursor()执行SQL语句cursor.execute('selec...