Created
July 28, 2022 02:13
-
-
Save MaddoxRauch/bad29754daeef6edd435f84d37700367 to your computer and use it in GitHub Desktop.
Create a QR code
This file contains hidden or 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 | |
img = qrcode.make("https://www.google.com/") | |
img.save("QR.jpg") |
This file contains hidden or 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
The interpreter will need to have qrcode and pillow installed. Pillow is current updated version fork of now deprecated | |
PIL (Python Image Library) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment