Using sudo apt-get install python-qrtools, you should install python qrtools
The following dependencies must be installed as well
pypng, zbar, pillow.
Qrtools contains a class QR, for which we must initially create an object. The object takes the following arguments
data,pixel_size,level,margin_size,data_type
Lets discuss