QR code generator

#for this first you open cmd and type pip install pyqrcode after that you type in cmd pip install png
-----------------------------------
#@ sudhir tawaniya product.|
-----------------------------------


import pyqrcode
import png,os
from pyqrcode import QRCode
a=input("Enter your website name:-")
s=pyqrcode.create(a)
s.png("your web.png",scale=5)
s.svg("your web.svg",scale=7)
print("your web qrcode is succefully created")
b=input("can you see your code type yes or no").lower()
if "yes" in b:
os.startfile("your web.png")
print("Thanks for using qrcode creater from sudhir tawaniya")

Comments

Post a Comment