python使用qrcode包生成二维码,pythonqrcode,python使用qrco
python使用qrcode包生成二维码,pythonqrcode,python使用qrco
python使用qrcode包生成二维码
安装qrcode包
可以通过easy_install qrcode 安装,也可以到:https://github.com/lincolnloop/python-qrcode 下载
qrcode简单用法
import qrcodeimg = qrcode.make('Some data here')
高级用法
import qrcodeqr = 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()
相关内容
- Python初学教程:Python dict使用示例,pythondict,Python Dict
- Python初学教程:读取文件,,Python 读取文件#
- Python 操作 Sqlite3教程,pythonsqlite3,Python编程语言从出
- Python生成RSS,pythonrss,心血来潮要搞下pytho
- Python解析RSS,pythonrss,首先需要安装RSS解析的
- python webpy purge nginx fastcgi cache 代码实现,webpynginx,前几
- Python初学教程:Python使用os.path处理文件路径,pythonos
- Python验证Url地址的正则表达式,python正则表达式,Pytho
- Python连接mysql OperationalError: (1366, "Incorrect string
- Python使用easy_install升级包,pythoneasy_install,easy_install
评论关闭