Skip to content

Commit 4208c62

Browse files
Add qr_gen.py
1 parent 4ab4688 commit 4208c62

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

qr_gen.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python3
2+
3+
from pathlib import Path
4+
from pyqrcode import QRCode
5+
6+
home = str(Path.home())
7+
8+
url = QRCode("https://github.com/pythoninthegrass/python_template")
9+
url.png(Path(f"{home}/Downloads/repo.png"), scale=8)

0 commit comments

Comments
 (0)