摘要: import pymysql coon=pymysql.connect( host='xx.xx.xx.xx',user='jxz',passwd='123456', port=3306,db='jxz',charset='utf8' #port必须写int类型 #charset必须写utf8 )#建立数据库连接 cur=coon.cursor()#建立游标 cu... 阅读全文
posted @ 2018-05-04 17:20 小静学测试 阅读(163) 评论(0) 推荐(0) 编辑
摘要: os模块 time,datetime模块 random模块 hashlib模块 阅读全文
posted @ 2018-05-04 17:05 小静学测试 阅读(124) 评论(0) 推荐(0) 编辑