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