How to make a simpal QR Code Generator in Python

 

How to make a simple QR Code Generator in Python


project

This video : 


This project code:  {:-)



import qrcode

data = ("""
Hello!
my name is : Zihdul Tlukder
I live in : Bangladesh
""")

qr = qrcode.QRCode(version = 1,
error_correction = qrcode.constants.ERROR_CORRECT_L,
box_size = 1000,
border = 1)

qr.add_data(data)
qr.make(fit = True)

img = qr.make_image(fill_color = "black", back_color = "white")
img.save("My QR Code.png")




No comments

Theme images by luoman. Powered by Blogger.