diff --git a/QR Code Generator/QRcode.py b/QR Code Generator/QRcode.py new file mode 100644 index 0000000..adf4bcd --- /dev/null +++ b/QR Code Generator/QRcode.py @@ -0,0 +1,8 @@ +import qrcode + +qr = qrcode.QRCode(version=1, error_correction=qrcode.constants.ERROR_CORRECT_L) +qr.add_data("INSERT YOUR LINK HERE") +qr.make(fit=True) + +img = qr.make_image(fill_color="black", back_color="white") +img.save("qrcode.png") diff --git a/QR Code Generator/qrcode.png b/QR Code Generator/qrcode.png new file mode 100644 index 0000000..0c31007 Binary files /dev/null and b/QR Code Generator/qrcode.png differ diff --git a/README.md b/README.md index c091135..3205dbc 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,7 @@ More information on contributing and the general code of conduct for discussion | Password Manager | [Password Manager](https://github.com/nem5345/Python-Scripts/tree/master/Password%20Manager) | Generate and interact with a password manager. | | PDF to Audio | [PDF to Audio](https://github.com/DhanushNehru/Python-Scripts/tree/master/PDF%20to%20Audio) | Converts PDF to audio. | | Planet Simulation | [Planet Simulation](https://github.com/DhanushNehru/Python-Scripts/tree/master/Planet%20Simulation) | A simulation of several planets rotating around the sun. | +| 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 | | Remove Background | [Remove Background](https://github.com/DhanushNehru/Python-Scripts/tree/master/Remove%20Background) | Removes the background of images. | | ROCK-PAPER-SCISSOR | [ROCK-PAPER-SCISSOR](https://github.com/DhanushNehru/Python-Scripts/tree/master/Rock%20Paper%20Scissor) | A game of Rock Paper Scissors. | | 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! |