1.安装pip3 install pillow2.使用步骤生成验证码和验证字符串绘制图片,将验证码放入session中将图片返回给页面3.代码demo#!/usr/bin/env python3#_*_ coding:utf-8 _*_#Author:wdimport randomfrom PIL import Image, ImageDraw, ImageFont, ImageFilterdef
在线咨询:
邮箱: xwei067@foxmail.com
工作时间:周一至周五,9:00-17:30,节假日休息