Created
April 25, 2019 16:00
-
-
Save DataSolveProblems/84f37b6ff3e22690ea6cfc295277ce66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qrcode | |
qr = qrcode.QRCode( | |
version=1, | |
box_size=15, | |
border=5 | |
) | |
data = 'your text here' | |
qr.add_data(data) | |
qr.make(fit=True) | |
img = qr.make_image(fill='black', back_color='white') | |
img.save('<file name>.png') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment