Python how to generate qrcode

2020-04-01 07:51发布

I'd like to generate a qr-code which will contain all informations concerning a user with django.

can you help me please....even with a link or a code...or with a github project ;)

thanks

1条回答
相关推荐>>
2楼-- · 2020-04-01 08:31

Have a look at qrcode library. It should be able to do everything you need.

Here's a code snippet to get started:

import qrcode

qr_image = qrcode.make('cullzie')
qr_image.save('user_data_qr.png')
查看更多
登录 后发表回答