How to Generate QR Code Using Python Code
Installation of module:
$ pip install pyqrcode
$ pip install pypng
Code:
import pyqrcode import pypng # String which represents the QR code s = "Text which is generate for QR Code" # Generate QR code url = pyqrcode.create(s) # Create and save the png file naming "myqr.png" url.png('myqr.png', scale = 6)Now enjoy your code: