MyQR
生成二维码
生成二维码的模块
首先pip install MyQR 下载这个Python库
from MyQR import myqr
myqr.run(words=‘https://blog.csdn.net/chexiansheng’,picture=" a.jpg< a>’,colorized=True)
https://blog.csdn.net/chexiansheng’,picture=" a.jpg< a>words 写网站的路由
picture 背景图片 格式可以为jpg pnh gif 多种格式 gif 格式可以为动图
colorized 是否有色彩!
好啦,去制作属于你自己的二维码吧