Last active
August 12, 2021 04:19
-
-
Save sahasourav17/3f37c20c9501ea943569d6d2f6c937e1 to your computer and use it in GitHub Desktop.
This code is for generating QR code.It will take text or URL as input and generate QR code as output
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 | |
def qrcode(): | |
q = pyqrcode.create(input()) | |
q.png('gen_qrcode.png',scale=7) | |
print('qrcode generated') | |
if __name__=='__main__': | |
qrcode() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment