📱

[Python] QRコードを生成する。

2021/08/24に公開

tiktokで流れてきた。メモ

$ pip install qrcode
$ pip install Image  #なければ、pillowやらいろいろ入ります。
import qrcode

img = qrcode.make('https://www.python.jp')
img.save('qrcode.png')
img.show()

生成できた画像

Discussion