qr code: generate
QR codes are a convenient method of sending links in a world where everyone has a mobile camera. In this series of videos we'll show you how you can work with them from python.
Before generating QR codes you'll need to install the dependencies.
%pip install "qrcode[pil]"
Once installed you can generate a QR code by running:
import qrcode img = qrcode.make('qr codes from python')
You can save these images to disk by running:
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider signing up for the newsletter.