diff --git a/qrcode_generator.py b/qrcode_generator.py new file mode 100644 index 00000000..ce552bf7 --- /dev/null +++ b/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