Skip to content

Instantly share code, notes, and snippets.

@sli
Created April 20, 2011 19:51
Show Gist options
  • Save sli/932548 to your computer and use it in GitHub Desktop.
Save sli/932548 to your computer and use it in GitHub Desktop.
Quick QR code generator.
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