Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
4

how to create QR code on repl?

HarshitKumar2
HarshitKumar2

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

here is my code...

2 years ago

Voters

Comments

TopNew
1
FishballNooodle
FishballNooodle
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")
2 years ago
0
HarshitKumar2
HarshitKumar2

@FishballNooodle
thanks you

2 years ago
0
FishballNooodle
FishballNooodle

@HarshitKumar2

Thanks for getting me to 100

2 years ago
1
HarshitKumar2
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..

2 years ago
2
aaravakre
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")

1 year ago
Load more