Skip to content

Commit a35cc9f

Browse files
committed
added a QR code generator
1 parent 986c416 commit a35cc9f

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

QR Code Generator/QRcode.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import qrcode
2+
3+
qr = qrcode.QRCode(version=1, error_correction=qrcode.constants.ERROR_CORRECT_L)
4+
qr.add_data("INSERT YOUR LINK HERE")
5+
qr.make(fit=True)
6+
7+
img = qr.make_image(fill_color="black", back_color="white")
8+
img.save("qrcode.png")

QR Code Generator/qrcode.png

1.2 KB
Loading

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ More information on contributing and the general code of conduct for discussion
8181
| Password Manager | [Password Manager](https://github.com/nem5345/Python-Scripts/tree/master/Password%20Manager) | Generate and interact with a password manager. |
8282
| PDF to Audio | [PDF to Audio](https://github.com/DhanushNehru/Python-Scripts/tree/master/PDF%20to%20Audio) | Converts PDF to audio. |
8383
| Planet Simulation | [Planet Simulation](https://github.com/DhanushNehru/Python-Scripts/tree/master/Planet%20Simulation) | A simulation of several planets rotating around the sun. |
84+
| QR Code Generator | [QR Code Generator](https://github.com/DhanushNehru/Python-Scripts/tree/master/QR%20Code%20Generator) | This is generate a QR code from the provided link |
8485
| Remove Background | [Remove Background](https://github.com/DhanushNehru/Python-Scripts/tree/master/Remove%20Background) | Removes the background of images. |
8586
| ROCK-PAPER-SCISSOR | [ROCK-PAPER-SCISSOR](https://github.com/DhanushNehru/Python-Scripts/tree/master/Rock%20Paper%20Scissor) | A game of Rock Paper Scissors. |
8687
| Random Color Generator | [Random Color Generator](https://github.com/DhanushNehru/Python-Scripts/tree/master/Random%20Color%20Generator) | A random color generator that will show you the color and values! |

0 commit comments

Comments
 (0)