Generate QR Code using python
In this tutorial, we are going to show and explain How to Generate QR Code using python. We have added the video tutorial and the source code of the program.
So let us begin with the Generate QR Code using python.
Video Tutorial: Generate QR Code using python.
Installation:
pip install pyqrcode
Source Code:
import pyqrcode from pyqrcode import QRCode # String which represent the QR code s = "https://www.youtube.com/c/techdecode" # Generate QR code url = pyqrcode.create(s) url.svg("qr.svg", scale = 8)
Output:
Hello sir,
can u gift me tutorial install this module “pyqrcode”
i want to learn ur code sir..
thanks from ur fans 🙂
Open Command Prompt and type “pip install pyqrcode”