摘要:
python装饰器的使用def ty(func): #定义装饰器 def zty(): print 'hehehe' #装饰内容 func() ... 阅读全文
posted @ 2016-07-09 22:11
tyzZ001
阅读(153)
评论(0)
推荐(0)
摘要:
生成六位验证码python代码import randomdef Verifi_code(): code = [] for i in range(6): if i == random.randint(1,5): code.append(... 阅读全文
posted @ 2016-07-09 22:06
tyzZ001
阅读(316)
评论(0)
推荐(0)