
import pyqrcode
from pyqrcode import QRCode
# String which represent the QR code
s = input("enter url: ")
# Generate QR code
url = pyqrcode.create(s)
# Create and save the png file naming "myqr.png"
url.svg("myyoutube.svg", scale = 8)
... [other code] ...
Post a Comment