Initial upload

This commit is contained in:
Mueez Khan 2021-03-25 08:58:09 -04:00 committed by GitHub
commit bf8a8f965d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 77 additions and 0 deletions

13
encode_qrcode.py Normal file
View file

@ -0,0 +1,13 @@
import qrcode
data = input("Type anything you want to decode into a QR code: ")
qr = qrcode.QRCode(version = 1, box_size=10, border=5)
qr.add_data(data)
qr.make(fit=True)
img = qr.make_image(fill_color = 'blue', back_color = 'white')
img.save('./testimgs/myqrcode.png')