Created
February 18, 2021 06:03
-
-
Save Gustavoo151/d4309bf7a3420da47f7c47698361fc13 to your computer and use it in GitHub Desktop.
Criar um Qr code a partir de qualquer link
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 pyqrcode | |
import png | |
from pyqrcode import QRCode | |
qrstring = "https://www.youtube.com/" # Lugar do link desejado | |
url = pyqrcode.create(qrstring) | |
url.png('C:\local\qr.png', scale=8) # escolher o local do arquivo png com o Qr code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment