摘要:
小demo,用于flask验证码 # pip install gvcode from gvcode import VFCode def getVerifyCode(): vc = VFCode( width=120, # 图片宽度 height=50, # 图片高度 fontsize=30, # 字 阅读全文
摘要:
import random import string from smtplib import SMTP_SSL from email.mime.text import MIMEText from email.header import Header # 发送邮件,参数为收件邮箱地址和验证码 def 阅读全文