会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
2023年10月19日
django——生成随机验证码
摘要: Python生成随机验证码,需要使用PIL模块. 1 pip3 install pillow 基本使用 1.创建图片 1 from PIL import Image 2 img = Image.new(mode='RGB', size=(120, 30), color=(255, 255, 255)
阅读全文
posted @ 2023-10-19 09:08 jakub
阅读(56)
评论(0)
推荐(0)
公告