摘要: import pymysqlconn = pymysql.connect( host='127.0.0.1', user='root', passwd='123456', port=3306, db='student', charset='utf8')cursor1 = conn.cursor()s 阅读全文
posted @ 2021-03-17 13:20 沈一愣 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 待完成 阅读全文
posted @ 2021-03-17 13:19 沈一愣 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 下面的实现比较简单,大致看一眼就知道了。。import randomlist1 = [chr(i) for i in range(97, 122)] + [str(i) for i in range(10)]list2 = [str(i) for i in range(10)]list3 = [st 阅读全文
posted @ 2021-03-17 13:14 沈一愣 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 1. 处理生成字符串,批量插入; 2. excel文件读取并批量导入; 阅读全文
posted @ 2021-03-17 13:11 沈一愣 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 只说一种最简单的方法:下载安装器,下一步下一步: https://dev.mysql.com/downloads/mysql/ 阅读全文
posted @ 2021-03-17 12:05 沈一愣 阅读(31) 评论(0) 推荐(0) 编辑