Python #图片验证码

//测试环境 Python 2.7

安装

pip install graphic-verification-code

使用

import gvcode

img,code=gvcode.generate()

img.show()
print code

print
gvcode.base64()

img 是图片的地址。

code是验证码

原文地址:https://www.cnblogs.com/lwsup/p/7722026.html