Created
April 20, 2011 19:51
-
-
Save sli/932548 to your computer and use it in GitHub Desktop.
Quick QR code generator.
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
from PyQRNative import * | |
def qrcode(data): | |
qr = QRCode(4, QRErrorCorrectLevel.L) | |
qr.addData(data) | |
qr.make() | |
return qr.makeImage() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment