Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create a qrcode in python

# Importing library
import qrcode
 
# Data to be encoded
data = 'www.google.com'
 
# Encoding data using make() function
img = qrcode.make(data)
 
# Saving as an image file
img.save('MyQRCode1.png')
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #create #qrcode #python
ADD COMMENT
Topic
Name
7+8 =