随笔分类 - Python
摘要:import random def Verifi_code(): code = [] for i in range(6): if i == random.randint(1,5): code.append(str(random.randint(1,5))) else: temp = random.r
阅读全文
摘要:# -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText msg = MIMEText('hello, send by Python...', 'plain', 'utf-8') from_addr = '
阅读全文

浙公网安备 33010602011771号