Created
October 7, 2021 13:42
-
-
Save sengstacken/8d6f54b65f2dd0ae4233166a4582ecce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qrcode | |
qr = qrcode.QRCode(version=3, box_size=15, border=15) #box_size is QR dimension and border is thickness | |
data = "https:~/~/www.amazon.com" | |
qr.add_data(data) | |
image = qr.make_image(fill='black', back_color='white') | |
image.save("amazon.png") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment