Created
November 22, 2022 09:03
-
-
Save SebDeclercq/93f9ab7d2cac6c048fde44030c7bb9fc to your computer and use it in GitHub Desktop.
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 | |
website_link = 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' | |
qr = qrcode.QRCode(version = 1, box_size = 5, border = 5) | |
qr.add_data(website_link) | |
qr.make() | |
img = qr.make_image(fill_color = 'black', back_color = 'white') | |
img.save('youtube_qr.png') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment