Ask coding questions

← Back to all posts
how to create QR code on repl?
HarshitKumar2

i a new here , i want to know how to create QR code on repl?

here is my code...

Answered by FishballNooodle [earned 5 cycles]
View Answer
Voters
Duvangamer3845
HarshitKumar2
Comments
hotnewtop
FishballNooodle
HarshitKumar2

@FishballNooodle thanks you

FishballNooodle

@HarshitKumar2
Thanks for getting me to 100

HarshitKumar2

@FishballNooodle I have one more question, that is how could I strore radmonly generate Number in QR Code? I tried earlier but getting error..

aaravakre

import qrcode
qr = qrcode.QRCode(
version=1,
box_size=10,
)
qr.add_data('Some data')
qr.make(fit=True)

img = qr.make_image(fill_color="black", back_color="white")