#从键盘输入一句话,把它做成二维码的信息 #根据url生成二维码 import qrcode def qrcodeWithUrl(url): img=qrcode.make(url) #保存图片 savePath='1.png' img.save(savePath) print(img) #根据输入内容生成二维码 def qrcodeWithText(text): img=qrcode.make(text)
Python3制作二维码
最新推荐文章于 2024-01-30 09:57:10 发布