Skip to content

Instantly share code, notes, and snippets.

@JayateerthDambal
Created November 28, 2020 12:37
Show Gist options
  • Save JayateerthDambal/1d434e13751a1e8b4b095a2db3ef0c8a to your computer and use it in GitHub Desktop.
Save JayateerthDambal/1d434e13751a1e8b4b095a2db3ef0c8a to your computer and use it in GitHub Desktop.
Code
import qrcode
def qr_generate(url, saved_img = 'QrCode.png'):
img = qrcode.make(url)
img.save(saved_img)
return img
url = "https://techfandome2020.netlify.app/"
qr_generate(url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment