- 授权协议: BSD
- 开发语言: Python
- 操作系统: Windows
- 软件首页: https://github.com/lincolnloop/python-qrcode
- 软件文档: https://github.com/lincolnloop/python-qrcode
软件介绍
python-qrcode 使用 Python Imaging Library (PIL) 来生成二维条形码。
示例代码:
import qrcode
qr = qrcode.QRCode(
version=1,
error_correction=qrcode.constants.ERROR_CORRECT_L,
box_size=10,
border=4,
)
qr.add_data('Some data')
qr.make(fit=True)
img = qr.make_image()
