import pyqrcode
import png
link = "https://www.instagram.com/pythonclcoding/"
qr_code = pyqrcode.create(link)
qr_code.png("instagram1.png", scale=5)
#clcoding.com
from pyzbar.pyzbar import decode
from PIL import Image
decocdeQR = decode(Image.open('instagram1.png'))
print(decocdeQR[0].data.decode('ascii'))
#clcoding.com
0 Comments:
Post a Comment