Skip to content

Commit 0782b66

Browse files
authored
Merge pull request #552 from AkshajV1309/patch-1
Create qrcodegen.py
2 parents e14cf3c + 3bb8c7d commit 0782b66

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

qrcodegen.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'''QR Code Generator'''
2+
3+
import pyqrcode
4+
text = input('Enter the link or text you want to convert to qr-code')
5+
qr = pyqrcode.create(text)
6+
qr.png("qrcode.png",scale=2)
7+
qr.show()
8+
9+
'''Code provided by Akshaj Vishwanathan'''

0 commit comments

Comments
 (0)