📜  python 验证码 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:36.496000             🧑  作者: Mango

代码示例2
from captcha.image import ImageCaptcha

image = ImageCaptcha(width = 280, height = 90)

captcha_text = "rand"

data = image.generate(captcha_text)

image.write(captcha_text,"Captcha.png")