As an introduction to programming with python, we will learn how to create a Quick Response (QR) code.
The code required is pure python...
python 3
pyqrcode
https://github.com/mnooner256/pyqrcodepypng
https://github.com/drj11/pypng
and can be installed with pip:
pip install pyqrcode pypng
Producing a QR code is wonderfully compact:
import pyqrcode
code = pyqrcode.create("hello, world")
code.png('img/qr.png', scale=10)
You can run the example with python qr.py
which produces this image: