Skip to content

Instantly share code, notes, and snippets.

@elbosso
Created March 31, 2018 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elbosso/6dcd7e129e23830b935ab08b5d18884d to your computer and use it in GitHub Desktop.
Save elbosso/6dcd7e129e23830b935ab08b5d18884d to your computer and use it in GitHub Desktop.
#!/usr/bin/python
import sys
import pyqrcode
program_name = sys.argv[0]
argument = sys.argv[1]
url = pyqrcode.create(argument)
print(url.terminal(quiet_zone=1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment