Skip to content

Instantly share code, notes, and snippets.

@ilhamarrouf
Created February 15, 2021 14:15
Show Gist options
  • Save ilhamarrouf/9acc7a5fdba06a85d3f1d19e267f941b to your computer and use it in GitHub Desktop.
Save ilhamarrouf/9acc7a5fdba06a85d3f1d19e267f941b to your computer and use it in GitHub Desktop.
Generate Simple QR Code With PyQRCode
import pyqrcode
data = input('Please enter some text or link to generate QR code : ')
qr = pyqrcode.create(data)
qr.svg('qrcode.svg', scale=8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment