Mutiple value in python qrcode

Viewed 76

Thanks to all who is reading this post My question is that how i can pass the mutiple value in qrcode in python and i am using python qrcode librarry,

def create_qr(data):
    qr = qrcode.QRCode(
        version=1,
        error_correction=qrcode.constants.ERROR_CORRECT_L,
        box_size=10,
        border=4,
    )
    qr.add_data(data)
    qr.make(fit=True)
    qr.best_mask_pattern()
    img = qr.make_image(fill_color="red", back_color="white")
    img.save('main.png')
0 Answers
Related