摘要: # _*_ coding:utf-8 _*_ """ 生成6位随机验证码 写一个6位随机验证码程序(使用random模块),要求验证码中至少包含一个数字、一个小写字母、一个大写字母. """ import string import random str_random = [] str1 = random.sample(string.ascii_lowercase,1) str2 = rand... 阅读全文
posted @ 2018-07-21 17:12 念宗 阅读(384) 评论(0) 推荐(0) 编辑
摘要: configparser.ini配置文件内容: [DEFAULT] ServerAliveInterval = 45 Compression = yes CompressionLevel = 9 ForwardX11 = yes [bitbucket.org] User = hg [topsecret.server.com] Port = 50022 ForwardX11 = no #... 阅读全文
posted @ 2018-07-21 16:25 念宗 阅读(93) 评论(0) 推荐(0) 编辑