Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python Script to Generator QR Code

import pyqrcode
import png
from PIL import Image
s = "https://python.plainenglish.io/" # url to open after scanning qr code
url = pyqrcode.create(s) # creating qr code
img = "python-in-plain-english.png" # name of image
url.png(img, scale=10) # saving image as png
im=Image.open(img) # opening image
im.show()
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #Python #Script #Generator #QR #Code
ADD COMMENT
Topic
Name
3+8 =