摘要: #coding:utf-8import random,stringdef GetPassword(length): # 随机生成数字个数 Ofnum=random.randint(1,length) Ofletter=length-Ofnum # 选中ofnum个数字 slcNum=[random. 阅读全文
posted @ 2018-05-25 16:29 Ling-Yu 阅读(1844) 评论(0) 推荐(2) 编辑
摘要: # -*- coding: utf-8 -*-import pymysqlimport xlrd# import codecs#连接数据库conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='', db='j 阅读全文
posted @ 2018-05-25 16:24 Ling-Yu 阅读(486) 评论(0) 推荐(1) 编辑