## text_2_qr.py
import qrcode
img = qrcode.make('hello, qrcode')
img.save('test.png')
本文介绍了一个简单的Python脚本,用于生成包含文本“hello,qrcode”的二维码图片,并将其保存为test.png文件。此脚本使用了qrcode库来创建二维码。
## text_2_qr.py
import qrcode
img = qrcode.make('hello, qrcode')
img.save('test.png')
1463
1858
624
969

被折叠的 条评论
为什么被折叠?