This is a mini-How-to for creating and decoding QR Codes in Python using the qr-tools library.
What you need…
First of all you need qrtools.py, you can get it from the QR Toosl Launchpad page:
or you can install it from the QR Tools Stable PPA if you happen to be using Ubuntu:
If you go with the PPA, you can check that qrtools is available in your system like this:
- Open a terminal and execute:
- Once you are into python, write
import qrtoolsand press enter; if you don’t get any message everything is OK.