diff --git a/Python Projects/qrcode_generator.py b/Python Projects/qrcode_generator.py new file mode 100644 index 0000000..ce552bf --- /dev/null +++ b/Python Projects/qrcode_generator.py @@ -0,0 +1,11 @@ +import pyqrcode +from pyqrcode import QRCode + +# String which represent the QR code +s = "https://www.youtube.com" + +# Generate QR code +url = pyqrcode.create(s) + +# Create and save the png file naming "myqr. +url.svg("qrcode.svg",scale=8) \ No newline at end of file