C:\Users\DELL>python
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import qrcode # 导入模块
>>> imgs = qrcode.make("http://sdsca.blog.51cto.com/") #输入要生成验证码的地址
>>> imgs.save("blog.png") #保存图片的位置
查看验证码