摘要:
随机生成4位验证码: 1 import random 2 checkcode = '' 3 for i in range(4): 4 current =random.randrange(0,4) 5 if current == 2: 6 temp = chr(random.randint(65,90 阅读全文
摘要:
time.sleep(4) #程序休眠4s import datetime print(datetime.date.today()) #返回格式:2016-06-07print(datetime.date.fromtimestamp(time.time()))print(datetime.datet 阅读全文